X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Ftidongle%2FMakefile;h=b2ba537bfc36336e6fa82f18e489c4882fc95340;hb=6aa99c160f0695eb25ccc0598e4c36224c89dab4;hp=1514c4dfe9f639fd43f59ab30f4058b16ec72b3f;hpb=18431c88c8a6cb267922b97192e8b7ddb88d0e7e;p=fw%2Faltos diff --git a/src/tidongle/Makefile b/src/tidongle/Makefile index 1514c4df..b2ba537b 100644 --- a/src/tidongle/Makefile +++ b/src/tidongle/Makefile @@ -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