Browse Source

dev differ now from debug

nas 3 years ago
parent
commit
aca337d23c
2 changed files with 8 additions and 3 deletions
  1. 3
    3
      Makefile
  2. 5
    0
      tests/test.sh

+ 3
- 3
Makefile View File

@@ -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
 

+ 5
- 0
tests/test.sh View File

@@ -0,0 +1,5 @@
1
+#!/bin/sh
2
+
3
+echo "Compilation"
4
+make dev
5
+./bin/dev/dev nimp a z

Loading…
Cancel
Save