altos: Stop copying cc1111 binaries to the altos/src dir
[fw/altos] / src / product / Makefile.teledongle
index 5105b567dc234e1ee8f31a138a63175acb99dda8..da9bcba04597487776c62fe6efd5ee444ba431a7 100644 (file)
@@ -43,6 +43,7 @@ CC1111_SRC = \
        ao_packet.c \
        ao_packet_master.c \
        ao_radio.c \
+       ao_send_packet.c \
        ao_romconfig.c \
        ao_string.c \
        ao_timer.c \
@@ -79,9 +80,9 @@ endif
 # Otherwise, print the full command line.
 quiet ?= $($1)
 
-all: ../$(PROG)
+all: $(PROG)
 
-../$(PROG): $(REL) Makefile
+$(PROG): $(REL) Makefile
        $(call quiet,CC) $(LDFLAGS) $(CFLAGS) -o $(PROG) $(REL) && cp $(PROG) $(PMAP) ..
        $(call quiet,CHECK_STACK) ../cc1111/ao_arch.h $(PMEM) || rm $@