altos/telemini-v2.0: Change initialization order
[fw/altos] / src / telemini-v2.0 / Makefile
index 5550e17224b36c9d3c16d0ae000796fb08a382ea..ed90f30f1609d567c4a121b0248be05e5e041d89 100644 (file)
@@ -24,7 +24,8 @@ INC = \
        ao_product.h \
        ao_int64.h \
        ao_sample.h \
-       ao_exti.h
+       ao_exti.h \
+       ao_task.h
 
 CORE_SRC = \
        ao_cmd.c \
@@ -58,7 +59,6 @@ CC1111_SRC = \
        ao_spi.c \
        ao_usb.c \
        ao_convert_pa.c \
-       ao_data.c \
        ao_beep.c \
        ao_timer.c \
        ao_exti.c \
@@ -96,10 +96,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