update makefile.

This commit is contained in:
Gatsby Van
2023-12-21 23:09:22 +08:00
parent 3a54546cbb
commit 9d023e2726
9 changed files with 47 additions and 92 deletions
+5 -6
View File
@@ -3,14 +3,13 @@
################################################################################
# Add inputs and outputs from these tool invocations to the build variables
C_SRCS += \
../src/time_ctrl/time_ctrl.c
TIME_CTRL_SRC := $(wildcard ../src/time_ctrl/*.c)
OBJS += \
./src/time_ctrl/time_ctrl.o
C_SRCS += $(TIME_CTRL_SRC)
C_DEPS += \
./src/time_ctrl/time_ctrl.d
OBJS += $(patsubst ../src/time_ctrl/%.c, ./src/time_ctrl/%.o, $(TIME_CTRL_SRC))
C_DEPS += $(patsubst ../src/time_ctrl/%.c, ./src/time_ctrl/%.d, $(TIME_CTRL_SRC))
# Each subdirectory must supply rules for building sources it contributes