projects
/
my-code
/
arm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b90619a
)
do not build bmp2b by default (as you need bmp api!)
author
hackbard
<hackbard@sage.physik.uni-augsburg.de>
Wed, 12 Sep 2007 10:35:14 +0000
(12:35 +0200)
committer
hackbard
<hackbard@sage.physik.uni-augsburg.de>
Wed, 12 Sep 2007 10:35:14 +0000
(12:35 +0200)
betty/Makefile
patch
|
blob
|
history
diff --git
a/betty/Makefile
b/betty/Makefile
index
3807986
..
cfe49bf
100644
(file)
--- a/
betty/Makefile
+++ b/
betty/Makefile
@@
-15,7
+15,7
@@
CROSS_RAM_LDFLAGS = -Tlpc2220_ram.ld -nostartfiles -nostdlib
CROSS_ROM_LDFLAGS = -Tlpc2220_rom.ld -nostartfiles -nostdlib
# build objects
CROSS_ROM_LDFLAGS = -Tlpc2220_rom.ld -nostartfiles -nostdlib
# build objects
-HOST_TARGET = lpcload fwdump
bmp2b
+HOST_TARGET = lpcload fwdump
CROSS_TARGET = fwbc.hex fwflash.hex betty.hex
# betty deps
CROSS_TARGET = fwbc.hex fwflash.hex betty.hex
# betty deps
@@
-23,12
+23,14
@@
BETTY_DEPS = system.o uart.o buttons.o spi.o display.o flash.o functions.o
#BETTY_DEPS += pffs.o
# all projects
#BETTY_DEPS += pffs.o
# all projects
-all:
links
$(HOST_TARGET) $(CROSS_TARGET)
+all: $(HOST_TARGET) $(CROSS_TARGET)
# bmp2b
links:
ln -sfv ../../api/bmp/bmp.{c,h} .
# bmp2b
links:
ln -sfv ../../api/bmp/bmp.{c,h} .
+bmp.c: links
+
bmp.o: bmp.c
$(CC) -c $(CFLAGS) -o $@ $<
bmp.o: bmp.c
$(CC) -c $(CFLAGS) -o $@ $<