Skip to content
Snippets Groups Projects
Commit 81adeeab authored by Arnaud Albiez's avatar Arnaud Albiez
Browse files

Mise a jour du makefile

parent c0add9ba
No related merge requests found
CFLAGS=-Wall -Wextra
all: build
clean_all :
rm -f sokoban unittest *.o
all: build unittest
build: sokoban
......@@ -18,5 +22,11 @@ main.o : main.c grid.h
grid.o : grid.c grid.h
gcc -c $(CFLAGS) grid.c
test.o : test.c
gcc -c $(CFLAGS) test.c
sokoban : main.o grid.o
gcc -o sokoban main.o grid.o
unittest : test.o
gcc -o unittest test.o
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment