EMILE/first/Makefile
Laurent Vivier 81e6004b28 config.h is a generated file:
- remove it from CVS
- "make clean" removes it
2004-02-16 15:04:14 +00:00

21 lines
303 B
Makefile

#
#
# (c) 2004 Laurent Vivier <LaurentVivier@wanadoo.fr>
#
#
all: first
first: first.o
$(OBJCOPY) -O binary first.o first
config.h:
echo ".equ base_address, $(BASE_ADDRESS)" > config.h.X
mv config.h.X config.h
first.o: first.S config.h
$(AS) -o first.o first.S
clean:
rm -f first *.o config.h