ci: 💚 Change makefile and adapt CI
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@ -24,5 +24,8 @@ steps:
|
||||
commands:
|
||||
- DEBIAN_FRONTEND=noninteractive apt-get update
|
||||
- DEBIAN_FRONTEND=noninteractive apt-get install -y gcc lcov build-essential libncurses5-dev libsdl2-dev libsdl2-2.0-0 libjpeg-dev libwebp-dev libtiff5-dev libsdl2-image-dev libsdl2-image-2.0-0 libfreetype6-dev libsdl2-ttf-dev libsdl2-ttf-2.0-0 bear --fix-missing
|
||||
- make solver
|
||||
- make clean
|
||||
- make main
|
||||
- make clean
|
||||
- make
|
||||
|
2
Makefile
2
Makefile
@ -5,7 +5,7 @@ SRC_DIRS := ./src
|
||||
|
||||
# All source files except main_solver.c
|
||||
MAIN_SRCS := $(shell find $(SRC_DIRS) -name *.cpp -or -name *.c -or -name *.s | grep -v main_solver.c)
|
||||
SOLVER_SRCS := ./src/main_solver.c ./src/Utils/Solver/gridResolver.c
|
||||
SOLVER_SRCS := ./src/main_solver.c ./src/utils/Solver/gridResolver.c
|
||||
|
||||
MAIN_OBJS := $(MAIN_SRCS:%=$(BUILD_DIR)/%.o)
|
||||
SOLVER_OBJS := $(SOLVER_SRCS:%=$(BUILD_DIR)/%.o)
|
||||
|
Reference in New Issue
Block a user