]> hackdaworld.org Git - my-code/arm.git/commitdiff
do not build bmp2b by default (as you need bmp api!)
authorhackbard <hackbard@sage.physik.uni-augsburg.de>
Wed, 12 Sep 2007 10:35:14 +0000 (12:35 +0200)
committerhackbard <hackbard@sage.physik.uni-augsburg.de>
Wed, 12 Sep 2007 10:35:14 +0000 (12:35 +0200)
betty/Makefile

index 3807986fd7b6403768b82b4243ded301b47cc46b..cfe49bf0d1762729c7c232da634c0fdd2b131b82 100644 (file)
@@ -15,7 +15,7 @@ CROSS_RAM_LDFLAGS = -Tlpc2220_ram.ld -nostartfiles -nostdlib
 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
@@ -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
-all: links $(HOST_TARGET) $(CROSS_TARGET)
+all: $(HOST_TARGET) $(CROSS_TARGET)
 
 # bmp2b
 links:
        ln -sfv ../../api/bmp/bmp.{c,h} .
 
+bmp.c: links
+
 bmp.o: bmp.c
        $(CC) -c $(CFLAGS) -o $@ $<