From: hackbard Date: Wed, 12 Sep 2007 10:35:14 +0000 (+0200) Subject: do not build bmp2b by default (as you need bmp api!) X-Git-Url: https://hackdaworld.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5d11f33a187c85b54153b97682b2d33ba426176;hp=--cc;p=my-code%2Farm.git do not build bmp2b by default (as you need bmp api!) --- f5d11f33a187c85b54153b97682b2d33ba426176 diff --git a/betty/Makefile b/betty/Makefile index 3807986..cfe49bf 100644 --- 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 -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 $@ $<