Skip to content
Snippets Groups Projects
Commit 89a53d03 authored by ghuter's avatar ghuter
Browse files

build options are conventionnaly put into a file named "config.mk"

plus it is a simpler/shorter name
parent 6326b396
No related branches found
No related tags found
No related merge requests found
File moved
...@@ -16,7 +16,7 @@ OBJ = \ ...@@ -16,7 +16,7 @@ OBJ = \
$(CAPTOR_OBJ) \ $(CAPTOR_OBJ) \
$(OBJ_DIR)/util.o $(OBJ_DIR)/util.o
include ./build_params.mk include ./config.mk
all: $(BIN) man all: $(BIN) man
......
include ../build_params.mk include ../config.mk
BIN = mojitos_tester BIN = mojitos_tester
SRC_DIR = src SRC_DIR = src
...@@ -16,7 +16,7 @@ $(OBJ_DIR)/%.o: $(SRC_DIR)/%.c $(OBJ_DIR) ...@@ -16,7 +16,7 @@ $(OBJ_DIR)/%.o: $(SRC_DIR)/%.c $(OBJ_DIR)
$(BIN): $(OBJS) $(BIN): $(OBJS)
@printf "\033[1;33m[Linking]\033[0m \n" @printf "\033[1;33m[Linking]\033[0m \n"
$(CC) $^ -o $@ $(LDFLAGS) $(CC) $^ -o $@ $(LDFLAGS)
@printf "\033[0;32mCompilation finished successfully !\n\033[0m" @printf "\033[0;32mCompilation finished successfully !\n\033[0m"
$(OBJ_DIR): $(OBJ_DIR):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment