X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Ftidongle%2FMakefile;h=0e90d74485d52d01f37584fb417153364d10e273;hb=979a1b8d80189e56745316da3de9288ee32e102c;hp=1514c4dfe9f639fd43f59ab30f4058b16ec72b3f;hpb=18431c88c8a6cb267922b97192e8b7ddb88d0e7e;p=fw%2Faltos diff --git a/src/tidongle/Makefile b/src/tidongle/Makefile index 1514c4df..0e90d744 100644 --- a/src/tidongle/Makefile +++ b/src/tidongle/Makefile @@ -2,8 +2,8 @@ # TIDongle build file # -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 @@ -72,10 +72,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