Browse Source

no old makefile

nas 3 years ago
parent
commit
121fa70598
1 changed files with 0 additions and 40 deletions
  1. 0
    40
      Makefile.old

+ 0
- 40
Makefile.old View File

@@ -1,40 +0,0 @@
1
-CC=g++
2
-LDFLAGS=
3
-CFLAGS=-Wall -Wextra -O -std=c++17
4
-
5
-STATE=debug
6
-
7
-SRC=src/
8
-INCLUDE=include/
9
-OBJ=object/
10
-BIN=bin/$(STATE)/
11
-
12
-all: reits
13
-
14
-run: reits
15
-	$(BIN)reits
16
-
17
-reits: main.o $(OBJ)Game.o $(OBJ)Scene.o $(OBJ)Interface.o
18
-	@echo "\nCompilation de \033[0;36m $@ \033[0m"
19
-	$(CC) -o $(BIN)$@ $(OBJ)$^ $(LDFLAGS)
20
-
21
-main.o: main.cpp $(INCLUDE)Game.h
22
-	@echo "\nCompilation de \033[0;36m $@ \033[0m"
23
-	$(CC) -o $(OBJ)$@ -c $^ $(CFLAGS)
24
-
25
-Game.o: $(SRC)Game.cpp $(INCLUDE)Game.h $(INCLUDE)Scene.h
26
-	@echo "\nCompilation de \033[0;36m $@ \033[0m"
27
-	@$(CC) -o $(OBJ)$@ -c $< $(CFLAGS)
28
-
29
-Scene.o: $(SRC)Scene.cpp $(INCLUDE)Scene.h $(INCLUDE)Interface.h
30
-	@echo "\nCompilation de \033[0;36m $@ \033[0m"
31
-	@$(CC) -o $(OBJ)$@ -c $< $(CFLAGS)
32
-
33
-Interface.o: $(SRC)Interface.cpp $(INCLUDE)Interface.h
34
-	@echo "\nCompilation de \033[0;36m $@ \033[0m"
35
-	@$(CC) -o $(OBJ)$@ -c $< $(CFLAGS)
36
-
37
-clean:
38
-	echo "Nettoyage des objets"
39
-	rm  $(OBJ)*
40
-

Loading…
Cancel
Save