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

Add makefile

parent 453ed92b
No related merge requests found
makefile 0 → 100644
CFLAGS=-Wall -Wextra
all: build
build: sokoban
distrib:
tar -zcvf Arnaud_Albiez.tar.gz main.c grid.c grid.h Makefile
clean :
rm -f sokoban *.o
main.o : main.c grid.h
gcc -c $(CFLAGS) main.c
grid.o : grid.c grid.h
gcc -c $(CFLAGS) grid.c
sokoban : main.o grid.o
gcc -o sokoban main.o grid.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