update makefile.
This commit is contained in:
@@ -3,17 +3,13 @@
|
|||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
# Add inputs and outputs from these tool invocations to the build variables
|
# Add inputs and outputs from these tool invocations to the build variables
|
||||||
C_SRCS += \
|
PHY_CTRL_SRC := $(wildcard ../src/phy_ctrl/*.c)
|
||||||
../src/phy_ctrl/antenna.c \
|
|
||||||
../src/phy_ctrl/phy_ctrl.c
|
|
||||||
|
|
||||||
OBJS += \
|
C_SRCS += $(PHY_CTRL_SRC)
|
||||||
./src/phy_ctrl/antenna.o \
|
|
||||||
./src/phy_ctrl/phy_ctrl.o
|
|
||||||
|
|
||||||
C_DEPS += \
|
OBJS += $(patsubst ../src/phy_ctrl/%.c, ./src/phy_ctrl/%.o, $(PHY_CTRL_SRC))
|
||||||
./src/phy_ctrl/antenna.d \
|
|
||||||
./src/phy_ctrl/phy_ctrl.d
|
C_DEPS += $(patsubst ../src/phy_ctrl/%.c, ./src/phy_ctrl/%.d, $(PHY_CTRL_SRC))
|
||||||
|
|
||||||
|
|
||||||
# Each subdirectory must supply rules for building sources it contributes
|
# Each subdirectory must supply rules for building sources it contributes
|
||||||
|
|||||||
@@ -3,14 +3,13 @@
|
|||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
# Add inputs and outputs from these tool invocations to the build variables
|
# Add inputs and outputs from these tool invocations to the build variables
|
||||||
C_SRCS += \
|
TIME_CTRL_SRC := $(wildcard ../src/time_ctrl/*.c)
|
||||||
../src/time_ctrl/time_ctrl.c
|
|
||||||
|
|
||||||
OBJS += \
|
C_SRCS += $(TIME_CTRL_SRC)
|
||||||
./src/time_ctrl/time_ctrl.o
|
|
||||||
|
|
||||||
C_DEPS += \
|
OBJS += $(patsubst ../src/time_ctrl/%.c, ./src/time_ctrl/%.o, $(TIME_CTRL_SRC))
|
||||||
./src/time_ctrl/time_ctrl.d
|
|
||||||
|
C_DEPS += $(patsubst ../src/time_ctrl/%.c, ./src/time_ctrl/%.d, $(TIME_CTRL_SRC))
|
||||||
|
|
||||||
|
|
||||||
# Each subdirectory must supply rules for building sources it contributes
|
# Each subdirectory must supply rules for building sources it contributes
|
||||||
|
|||||||
Reference in New Issue
Block a user