mirror of
https://github.com/vivier/EMILE.git
synced 2024-09-07 13:54:29 +00:00
21 lines
303 B
Makefile
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
|