You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
645 B
Makefile
31 lines
645 B
Makefile
9 months ago
|
# VEXcode makefile 2019_03_26_01
|
||
|
|
||
|
# show compiler output
|
||
|
VERBOSE = 0
|
||
|
|
||
|
# include toolchain options
|
||
|
include vex/mkenv.mk
|
||
|
|
||
|
# location of the project source cpp and c files
|
||
|
SRC_C = $(wildcard src/*.cpp)
|
||
|
SRC_C += $(wildcard src/*.c)
|
||
|
SRC_C += $(wildcard src/*/*.cpp)
|
||
|
SRC_C += $(wildcard src/*/*.c)
|
||
|
|
||
|
OBJ = $(addprefix $(BUILD)/, $(addsuffix .o, $(basename $(SRC_C))) )
|
||
|
|
||
|
# location of include files that c and cpp files depend on
|
||
|
SRC_H = $(wildcard include/*.h)
|
||
|
|
||
|
# additional dependancies
|
||
|
SRC_A = makefile
|
||
|
|
||
|
# project header file locations
|
||
|
INC_F = include
|
||
|
|
||
|
# build targets
|
||
|
all: $(BUILD)/$(PROJECT).bin
|
||
|
|
||
|
# include build rules
|
||
|
include vex/mkrules.mk
|