X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=src%2Fstm-demo%2FMakefile;h=3b1b671b27294d50e01dec5dd0a67b3445380476;hp=2f156ea4436175752f1e3589950316bf67e57267;hb=97efce5f7ff227aaa8990529217d3d10db3443dc;hpb=67044cca5b463772491d0712d0ce07a8f897a476 diff --git a/src/stm-demo/Makefile b/src/stm-demo/Makefile index 2f156ea4..3b1b671b 100644 --- a/src/stm-demo/Makefile +++ b/src/stm-demo/Makefile @@ -32,13 +32,19 @@ ALTOS_SRC = \ ao_dma_stm.c \ ao_spi_stm.c \ ao_adc_stm.c \ - ao_i2c_stm.c + ao_data.c \ + ao_i2c_stm.c \ + ao_usb_stm.c \ + ao_exti_stm.c \ + ao_event.c \ + ao_quadrature.c \ + ao_button.c PRODUCT=StmDemo-v0.0 PRODUCT_DEF=-DSTM_DEMO IDPRODUCT=0x000a -CFLAGS = $(PRODUCT_DEF) $(STM_CFLAGS) -g -O0 +CFLAGS = $(PRODUCT_DEF) $(STM_CFLAGS) -g -Os PROG=stm-demo @@ -60,7 +66,7 @@ $(OBJ): $(INC) distclean: clean clean: - rm -f $(OBJ) + rm -f *.o $(PROG) rm -f ao_product.h install: