X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Ftelefire-v0.1%2FMakefile;h=25267268e3a5dd0c67ec409983c46338884af147;hb=17e894d1b65231d07df009bc4e8ca92864ccf790;hp=09cb88fb45c1307019f2e32a138279d8159ccf09;hpb=4d4ad34aec0c75c66162b992f1e52947e4685730;p=fw%2Faltos diff --git a/src/telefire-v0.1/Makefile b/src/telefire-v0.1/Makefile index 09cb88fb..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 @@ -18,6 +18,7 @@ INC = \ ao_pins.h \ ao_arch.h \ ao_arch_funcs.h \ + ao_pad.h \ cc1111.h \ ao_product.h @@ -51,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 @@ -82,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