|
@@ -2,7 +2,7 @@ CC=g++
|
2
|
2
|
LDFLAGS=
|
3
|
3
|
CFLAGS=-Wall -Wextra -O -std=c++17 -lboost_program_options
|
4
|
4
|
|
5
|
|
-STATE=debug
|
|
5
|
+STATE=dev
|
6
|
6
|
|
7
|
7
|
SRC=src/
|
8
|
8
|
INCLUDE=include/
|
|
@@ -22,7 +22,7 @@ crypt: $(OBJ)main.o $(OBJ)Crypt.o
|
22
|
22
|
@echo "\nCompilation de \033[0;36m $@ \033[0m"
|
23
|
23
|
$(CC) -o $(BIN)$@ $^ $(LDFLAGS)
|
24
|
24
|
|
25
|
|
-debug: $(OBJ)main_debug.o $(OBJ)Crypt.o $(OBJ)Test.o
|
|
25
|
+dev: $(OBJ)main_dev.o $(OBJ)Crypt.o $(OBJ)Test.o
|
26
|
26
|
@echo "\nCompilation de \033[0;36m $@ \033[0m"
|
27
|
27
|
$(CC) -o $(BIN)$@ $^ $(LDFLAGS)
|
28
|
28
|
|
|
@@ -30,7 +30,7 @@ $(OBJ)main.o: main.cpp
|
30
|
30
|
@echo "\nCompilation de \033[0;36m $@ \033[0m"
|
31
|
31
|
$(CC) -o $@ -c $^ $(CFLAGS)
|
32
|
32
|
|
33
|
|
-$(OBJ)main_debug.o: main_debug.cpp
|
|
33
|
+$(OBJ)main_dev.o: main_dev.cpp
|
34
|
34
|
@echo "\nCompilation de \033[0;36m $@ \033[0m"
|
35
|
35
|
$(CC) -o $@ -c $^ $(CFLAGS)
|
36
|
36
|
|