Commit baf9b81fc33d9f27a1bbe5c35e951cbf78839fae
1 parent
58e7c1cc
replaced
Showing
1 changed file
with
0 additions
and
24 deletions
Show diff stats
makefile deleted
... | ... | @@ -1,24 +0,0 @@ |
1 | -TARGET= project | |
2 | -CFLAGS=-g -W -Wall -Wextra | |
3 | -LDFLAGS=-lgraph -Lgraphique -lSDL -lSDL_ttf | |
4 | -OBJETS=main.o liste.o src/Graphique/libgraph.a | |
5 | - | |
6 | -default: $(TARGET) | |
7 | - | |
8 | -liste.o: liste.c liste.h | |
9 | - gcc $(CFLAGS) -c liste.c | |
10 | - | |
11 | -main.o: main.c liste.h src/Graphique/libgraph.h | |
12 | - gcc $(CFLAGS) -c main.c | |
13 | - | |
14 | -Graphique/libgraph.a: | |
15 | - cd src/Graphique/ && $(MAKE) | |
16 | - cd .. | |
17 | - | |
18 | -$(TARGET): $(OBJETS) | |
19 | - clang $(OBJETS) -o $(TARGET) $(LDFLAGS) | |
20 | - | |
21 | -.PHONY: clean | |
22 | -clean: | |
23 | - rm -f *.o | |
24 | - rm -f $(TARGET) | |
25 | 0 | \ No newline at end of file |