make
authorMart Lubbers <mart@martlubbers.net>
Wed, 23 Mar 2016 10:07:44 +0000 (11:07 +0100)
committerMart Lubbers <mart@martlubbers.net>
Wed, 23 Mar 2016 10:07:44 +0000 (11:07 +0100)
modelchecker/.gitignore
modelchecker/Makefile
modelchecker/sokoban.c [new file with mode: 0644]

index 84abf5a..6f3c928 100644 (file)
@@ -1,2 +1,3 @@
 main
 sylvan
+*.o
index ab740f9..83816ec 100644 (file)
@@ -1,9 +1,12 @@
-PROGRAM:=main
-OBJS:=
-CFLAGS:=-O3 -Wextra -Wall -Werror -fno-strict-aliasing -std=gnu11 \
+PROGRAM=main
+OBJS=sokoban.o
+CFLAGS=-O3 -Wextra -Wall -Werror -fno-strict-aliasing -std=gnu11 \
        -I./sylvan/src
 
-all: $(PROGRAM)
+all: main
+
+main: main.c $(OBJS)
+       $(CC) $(CFLAGS) $< -o $@
 
 clean:
-       $(RM) -v $(PROGRAM)
+       $(RM) -v main *.o
diff --git a/modelchecker/sokoban.c b/modelchecker/sokoban.c
new file mode 100644 (file)
index 0000000..e69de29