altos: Stop copying cc1111 binaries to the altos/src dir
[fw/altos] / src / telemini-v2.0 / Makefile
index adb1256c221070086eceb6b856548bde4621e540..ed90f30f1609d567c4a121b0248be05e5e041d89 100644 (file)
@@ -23,7 +23,9 @@ INC = \
        ao_ms5607_convert_8051.c \
        ao_product.h \
        ao_int64.h \
-       ao_sample.h
+       ao_sample.h \
+       ao_exti.h \
+       ao_task.h
 
 CORE_SRC = \
        ao_cmd.c \
@@ -57,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 \
@@ -95,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