projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos: Have 'make clean' remove all programs, even old ones
[fw/altos]
/
src
/
megametrum-v0.1
/
Makefile
diff --git
a/src/megametrum-v0.1/Makefile
b/src/megametrum-v0.1/Makefile
index a07b25eeeab06eee19f53df24200416d7eb9cfe9..59cfb64d0449811d5bf0fc128acd31efb817c2d0 100644
(file)
--- a/
src/megametrum-v0.1/Makefile
+++ b/
src/megametrum-v0.1/Makefile
@@
-18,15
+18,19
@@
INC = \
ao_ms5607.h \
ao_hmc5883.h \
ao_mpu6000.h \
ao_ms5607.h \
ao_hmc5883.h \
ao_mpu6000.h \
+ ao_cc1120_CC1120.h \
+ ao_profile.h \
+ ao_whiten.h \
stm32l.h
#
# Common AltOS sources
#
stm32l.h
#
# Common AltOS sources
#
-# ao_cc1120.c \
-# ao_packet.c \
-# ao_packet_slave.c \
+#PROFILE=ao_profile.c
+#PROFILE_DEF=-DAO_PROFILE=1
+
+# ao_hmc5883.c
ALTOS_SRC = \
ao_interrupt.c \
ALTOS_SRC = \
ao_interrupt.c \
@@
-42,9
+46,14
@@
ALTOS_SRC = \
ao_mutex.c \
ao_serial_stm.c \
ao_gps_skytraq.c \
ao_mutex.c \
ao_serial_stm.c \
ao_gps_skytraq.c \
+ ao_gps_report_mega.c \
+ ao_ignite.c \
ao_freq.c \
ao_dma_stm.c \
ao_spi_stm.c \
ao_freq.c \
ao_dma_stm.c \
ao_spi_stm.c \
+ ao_cc1120.c \
+ ao_fec_tx.c \
+ ao_fec_rx.c \
ao_ms5607.c \
ao_adc_stm.c \
ao_beep_stm.c \
ao_ms5607.c \
ao_adc_stm.c \
ao_beep_stm.c \
@@
-54,23
+63,27
@@
ALTOS_SRC = \
ao_exti_stm.c \
ao_report.c \
ao_i2c_stm.c \
ao_exti_stm.c \
ao_report.c \
ao_i2c_stm.c \
- ao_hmc5883.c \
ao_mpu6000.c \
ao_convert_pa.c \
ao_log.c \
ao_log_mega.c \
ao_mpu6000.c \
ao_convert_pa.c \
ao_log.c \
ao_log_mega.c \
- ao_sample
_mm
.c \
+ ao_sample.c \
ao_kalman.c \
ao_kalman.c \
- ao_flight_mm.c
-
+ ao_flight.c \
+ ao_telemetry.c \
+ ao_packet_slave.c \
+ ao_packet.c \
+ ao_companion.c \
+ $(PROFILE)
PRODUCT=MegaMetrum-v0.1
PRODUCT_DEF=-DMEGAMETRUM
PRODUCT=MegaMetrum-v0.1
PRODUCT_DEF=-DMEGAMETRUM
-IDPRODUCT=0x00
0a
+IDPRODUCT=0x00
23
-CFLAGS = $(PRODUCT_DEF) $(STM_CFLAGS) -Os -g
+CFLAGS = $(PRODUCT_DEF) $(STM_CFLAGS)
$(PROFILE_DEF)
-Os -g
-PROG=megametrum-v0.1-$(VERSION).elf
+PROGNAME=megametrum-v0.1
+PROG=$(PROGNAME)-$(VERSION).elf
SRC=$(ALTOS_SRC) ao_megametrum.c
OBJ=$(SRC:.c=.o)
SRC=$(ALTOS_SRC) ao_megametrum.c
OBJ=$(SRC:.c=.o)
@@
-91,7
+104,7
@@
ao_product.h: ao-make-product.5c ../Version
distclean: clean
clean:
distclean: clean
clean:
- rm -f
$(OBJ)
+ rm -f
*.o $(PROGNAME)-*.elf
rm -f ao_product.h
install:
rm -f ao_product.h
install: