X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Ftelefire-v0.1%2FMakefile;h=25267268e3a5dd0c67ec409983c46338884af147;hb=dcaaf51245b44a440ee8590512f71195c30c16ae;hp=cfa4b3ed37c8b9947520a869d929c23721fc763b;hpb=7ecb429fe4682faf209452b1738ff3c8096fc5d5;p=fw%2Faltos diff --git a/src/telefire-v0.1/Makefile b/src/telefire-v0.1/Makefile index cfa4b3ed..25267268 100644 --- a/src/telefire-v0.1/Makefile +++ b/src/telefire-v0.1/Makefile @@ -5,8 +5,8 @@ TELEFIRE_VER=0.1 TELEFIRE_DEF=0_1 -vpath %.c ..:../core:../cc1111:../drivers:../product -vpath %.h ..:../core:../cc1111:../drivers:../product +vpath %.c ..:../kernel:../cc1111:../drivers:../product +vpath %.h ..:../kernel:../cc1111:../drivers:../product vpath ao-make-product.5c ../util ifndef VERSION @@ -52,7 +52,8 @@ CC1111_SRC = \ DRIVER_SRC = \ ao_pca9922.c \ ao_74hc497.c \ - ao_pad.c + ao_pad.c \ + ao_radio_cmac_cmd.c PRODUCT_SRC = \ ao_telefire.c @@ -83,10 +84,10 @@ endif # Otherwise, print the full command line. quiet ?= $($1) -all: ../$(PROG) +all: $(PROG) -../$(PROG): $(REL) Makefile - $(call quiet,CC) $(LDFLAGS) $(CFLAGS) -o $(PROG) $(REL) && cp $(PROG) $(PMAP) .. +$(PROG): $(REL) Makefile + $(call quiet,CC) $(LDFLAGS) $(CFLAGS) -o $(PROG) $(REL) $(call quiet,CHECK_STACK) ../cc1111/ao_arch.h $(PMEM) || rm $@ ao_product.h: ao-make-product.5c ../Version