[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avrdude-dev] Makefile for avr910.S
From: |
Joerg Wunsch |
Subject: |
Re: [avrdude-dev] Makefile for avr910.S |
Date: |
Sat, 3 May 2003 10:01:53 +0200 |
User-agent: |
Mutt/1.2.5i |
As address@hidden wrote:
> Here's my makefile for avr910.S
> # define module
> TARGET = avr910-2_3
Btw., starting make macros with a TAB is IMHO very bad style. A TAB
in a Makefile is reserved to start a command inside a rule.
For similar reasons, i consider indenting make macros with spaces not
to be good style, because in most editors, TABs and spaces are hard to
distinguish.
Just start the macro name (and any target name in a rule) in the first
column, insert any command inside a rule by one TAB, and use no other
indentation. It's certainly not very fortunate these days that »make«
is that picky about TAB vs. spaces, but such is history, and we gotta
live with it.
(Alexander, nicht persönlich gemeint, aber ich sehe sowas hin und
wieder, daher wollte ich lieber mal meinen Protest anmelden. ;-)
--
J"org Wunsch Unix support engineer
address@hidden http://www.interface-systems.de/~j/