]> mj.ucw.cz Git - home-hw.git/blobdiff - Makefile
Makefile: deps
[home-hw.git] / Makefile
index fe19fd2a571097c44526d11e1e3233ca798dfb3c..1074eb971dd7f57eaaa6a5665f58843264800a05 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
 ##########################################################################################################################
-# File automatically-generated by tool: [projectgenerator] version: [2.27.0] date: [Fri Jun 22 21:02:51 CEST 2018] 
+# File automatically-generated by tool: [projectgenerator] version: [2.27.0] date: [Fri Jun 29 23:59:44 CEST 2018] 
 ##########################################################################################################################
 
 # ------------------------------------------------
@@ -53,6 +53,11 @@ BUILD_DIR = build
 C_SOURCES =  \
 /aux/misc/stm/F1-package/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_exti.c \
 Src/main.c \
+Src/debug.c \
+Src/usb.c \
+Src/usbdev.c \
+Src/display.c \
+Src/bmp085.c \
 /aux/misc/stm/F1-package/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c \
 /Src/system_stm32f1xx.c \
 Src/stm32f1xx_it.c \
@@ -76,14 +81,7 @@ Src/stm32f1xx_hal_msp.c \
 /aux/misc/stm/F1-package/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c \
 /aux/misc/stm/F1-package/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c \
 /aux/misc/stm/F1-package/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_i2c.c \
-Src/usbd_conf.c \
-/aux/misc/stm/F1-package/Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c \
-Src/usbd_dfu_if.c \
-/aux/misc/stm/F1-package/Middlewares/ST/STM32_USB_Device_Library/Class/DFU/Src/usbd_dfu.c \
-/aux/misc/stm/F1-package/Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c \
-/aux/misc/stm/F1-package/Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c \
-Src/usb_device.c \
-Src/usbd_desc.c
+/aux/misc/stm/F1-package/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_tim.c
 
 # ASM sources
 ASM_SOURCES =  \
@@ -144,9 +142,7 @@ C_INCLUDES =  \
 -I/aux/misc/stm/F1-package/Drivers/STM32F1xx_HAL_Driver/Inc \
 -I/aux/misc/stm/F1-package/Drivers/STM32F1xx_HAL_Driver/Inc/Legacy \
 -I/aux/misc/stm/F1-package/Drivers/CMSIS/Include \
--I/aux/misc/stm/F1-package/Drivers/CMSIS/Device/ST/STM32F1xx/Include \
--I/aux/misc/stm/F1-package/Middlewares/ST/STM32_USB_Device_Library/Core/Inc \
--I/aux/misc/stm/F1-package/Middlewares/ST/STM32_USB_Device_Library/Class/DFU/Inc
+-I/aux/misc/stm/F1-package/Drivers/CMSIS/Device/ST/STM32F1xx/Include
 
 
 # compile gcc flags
@@ -160,7 +156,7 @@ endif
 
 
 # Generate dependency information
-CFLAGS += -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)"
+CFLAGS += -MMD -MF"$(@:%.o=%.d)"
 
 
 #######################################
@@ -213,11 +209,11 @@ $(BUILD_DIR):
 # clean up
 #######################################
 clean:
-       -rm -fR .dep $(BUILD_DIR)
+       -rm -fR $(BUILD_DIR)
   
 #######################################
 # dependencies
 #######################################
--include $(shell mkdir .dep 2>/dev/null) $(wildcard .dep/*)
+-include $(wildcard $(BUILD_DIR)/*.d)
 
 # *** EOF ***