update makefile.
This commit is contained in:
@@ -3,15 +3,14 @@
|
|||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
# 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 += \
|
|
||||||
../src/bit_array/bit_array.c
|
|
||||||
|
|
||||||
OBJS += \
|
BIT_ARRAY_SRC := $(wildcard ../src/bit_array/bit_array*.c)
|
||||||
./src/bit_array/bit_array.o
|
|
||||||
|
|
||||||
C_DEPS += \
|
C_SRCS += $(BIT_ARRAY_SRC)
|
||||||
./src/bit_array/bit_array.d
|
|
||||||
|
|
||||||
|
OBJS += $(patsubst ../src/bit_array/bit_array%.c, ./src/bit_array/bit_array%.o, $(BIT_ARRAY_SRC))
|
||||||
|
|
||||||
|
C_DEPS += $(patsubst ../src/bit_array/bit_array%.c, ./src/bit_array/bit_array%.d, $(BIT_ARRAY_SRC))
|
||||||
|
|
||||||
# Each subdirectory must supply rules for building sources it contributes
|
# Each subdirectory must supply rules for building sources it contributes
|
||||||
src/bit_array/%.o: ../src/bit_array/%.c
|
src/bit_array/%.o: ../src/bit_array/%.c
|
||||||
|
|||||||
@@ -2,15 +2,14 @@
|
|||||||
# Automatically-generated file. Do not edit!
|
# Automatically-generated file. Do not edit!
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
# 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 += \
|
CONFIG_SRC := $(wildcard ../src/config/*.c)
|
||||||
../src/config/platform.c
|
|
||||||
|
|
||||||
OBJS += \
|
C_SRCS += $(CONFIG_SRC)
|
||||||
./src/config/platform.o
|
|
||||||
|
|
||||||
C_DEPS += \
|
OBJS += $(patsubst ../src/config/%.c, ./src/config/%.o, $(CONFIG_SRC))
|
||||||
./src/config/platform.d
|
|
||||||
|
C_DEPS += $(patsubst ../src/config/%.c, ./src/config/%.d, $(CONFIG_SRC))
|
||||||
|
|
||||||
|
|
||||||
# Each subdirectory must supply rules for building sources it contributes
|
# Each subdirectory must supply rules for building sources it contributes
|
||||||
|
|||||||
@@ -3,20 +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 += \
|
GEOMETRY_SRC := $(wildcard ../src/linklayer/geometry/*.c)
|
||||||
../src/linklayer/geometry/coord.c \
|
|
||||||
../src/linklayer/geometry/eulerangles.c \
|
|
||||||
../src/linklayer/geometry/quaternion.c
|
|
||||||
|
|
||||||
OBJS += \
|
C_SRCS += $(GEOMETRY_SRC)
|
||||||
./src/linklayer/geometry/coord.o \
|
|
||||||
./src/linklayer/geometry/eulerangles.o \
|
|
||||||
./src/linklayer/geometry/quaternion.o
|
|
||||||
|
|
||||||
C_DEPS += \
|
OBJS += $(patsubst ../src/linklayer/geometry/%.c, ./src/linklayer/geometry/%.o, $(GEOMETRY_SRC))
|
||||||
./src/linklayer/geometry/coord.d \
|
|
||||||
./src/linklayer/geometry/eulerangles.d \
|
C_DEPS += $(patsubst ../src/linklayer/geometry/%.c, ./src/linklayer/geometry/%.d, $(GEOMETRY_SRC))
|
||||||
./src/linklayer/geometry/quaternion.d
|
|
||||||
|
|
||||||
|
|
||||||
# Each subdirectory must supply rules for building sources it contributes
|
# Each subdirectory must supply rules for building sources it contributes
|
||||||
|
|||||||
@@ -2,36 +2,14 @@
|
|||||||
# Automatically-generated file. Do not edit!
|
# Automatically-generated file. Do not edit!
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
# 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 += \
|
LINKLAYER_SRC := $(wildcard ../src/linklayer/*.c)
|
||||||
../src/linklayer/framing.c \
|
|
||||||
../src/linklayer/linklayer814.c \
|
|
||||||
../src/linklayer/linklayer_routine.c \
|
|
||||||
../src/linklayer/net_mgmt.c \
|
|
||||||
../src/linklayer/net_scan.c \
|
|
||||||
../src/linklayer/net_service.c \
|
|
||||||
../src/linklayer/node_list.c \
|
|
||||||
../src/linklayer/time_sync.c
|
|
||||||
|
|
||||||
OBJS += \
|
C_SRCS += $(LINKLAYER_SRC)
|
||||||
./src/linklayer/framing.o \
|
|
||||||
./src/linklayer/linklayer814.o \
|
|
||||||
./src/linklayer/linklayer_routine.o \
|
|
||||||
./src/linklayer/net_mgmt.o \
|
|
||||||
./src/linklayer/net_scan.o \
|
|
||||||
./src/linklayer/net_service.o \
|
|
||||||
./src/linklayer/node_list.o \
|
|
||||||
./src/linklayer/time_sync.o
|
|
||||||
|
|
||||||
C_DEPS += \
|
OBJS += $(patsubst ../src/linklayer/%.c, ./src/linklayer/%.o, $(LINKLAYER_SRC))
|
||||||
./src/linklayer/framing.d \
|
|
||||||
./src/linklayer/linklayer814.d \
|
C_DEPS += $(patsubst ../src/linklayer/%.c, ./src/linklayer/%.d, $(LINKLAYER_SRC))
|
||||||
./src/linklayer/linklayer_routine.d \
|
|
||||||
./src/linklayer/net_mgmt.d \
|
|
||||||
./src/linklayer/net_scan.d \
|
|
||||||
./src/linklayer/net_service.d \
|
|
||||||
./src/linklayer/node_list.d \
|
|
||||||
./src/linklayer/time_sync.d
|
|
||||||
|
|
||||||
|
|
||||||
# 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 += \
|
MPC_SRC := $(wildcard ../src/mpc/*.c)
|
||||||
../src/mpc/mpc_ctrl.c
|
|
||||||
|
|
||||||
OBJS += \
|
C_SRCS += $(MPC_SRC)
|
||||||
./src/mpc/mpc_ctrl.o
|
|
||||||
|
|
||||||
C_DEPS += \
|
OBJS += $(patsubst ../src/mpc/%.c, ./src/mpc/%.o, $(MPC_SRC))
|
||||||
./src/mpc/mpc_ctrl.d
|
|
||||||
|
C_DEPS += $(patsubst ../src/mpc/%.c, ./src/mpc/%.d, $(MPC_SRC))
|
||||||
|
|
||||||
|
|
||||||
# Each subdirectory must supply rules for building sources it contributes
|
# Each subdirectory must supply rules for building sources it contributes
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -6,17 +6,13 @@
|
|||||||
LD_SRCS += \
|
LD_SRCS += \
|
||||||
../src/lscript.ld
|
../src/lscript.ld
|
||||||
|
|
||||||
C_SRCS += \
|
MAIN_SRC := $(wildcard ../src/*.c)
|
||||||
../src/common.c \
|
|
||||||
../src/main.c
|
|
||||||
|
|
||||||
OBJS += \
|
C_SRCS += $(UTIL_SRC)
|
||||||
./src/common.o \
|
|
||||||
./src/main.o
|
|
||||||
|
|
||||||
C_DEPS += \
|
OBJS += $(patsubst ../src/%.c, ./src/%.o, $(MAIN_SRC))
|
||||||
./src/common.d \
|
|
||||||
./src/main.d
|
C_DEPS += $(patsubst ../src/%.c, ./src/%.d, $(MAIN_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
|
||||||
|
|||||||
@@ -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 += \
|
UTIL_SRC := $(wildcard ../src/util/*.c)
|
||||||
../src/util/crc.c \
|
|
||||||
../src/util/util.c
|
|
||||||
|
|
||||||
OBJS += \
|
C_SRCS += $(UTIL_SRC)
|
||||||
./src/util/crc.o \
|
|
||||||
./src/util/util.o
|
|
||||||
|
|
||||||
C_DEPS += \
|
OBJS += $(patsubst ../src/util/%.c, ./src/util/%.o, $(UTIL_SRC))
|
||||||
./src/util/crc.d \
|
|
||||||
./src/util/util.d
|
C_DEPS += $(patsubst ../src/util/%.c, ./src/util/%.d, $(UTIL_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