epic makeflie
authorMart Lubbers <mart@martlubbers.net>
Wed, 23 Mar 2016 10:10:14 +0000 (11:10 +0100)
committerMart Lubbers <mart@martlubbers.net>
Wed, 23 Mar 2016 10:10:14 +0000 (11:10 +0100)
modelchecker/Makefile

index 83816ec..5c295e6 100644 (file)
@@ -1,12 +1,10 @@
 PROGRAM=main
 OBJS=sokoban.o
+
 CFLAGS=-O3 -Wextra -Wall -Werror -fno-strict-aliasing -std=gnu11 \
        -I./sylvan/src
 
-all: main
-
-main: main.c $(OBJS)
-       $(CC) $(CFLAGS) $< -o $@
+all: $(OBJS) $(PROGRAM) 
 
 clean:
-       $(RM) -v main *.o
+       $(RM) -v $(PROGRAM) $(OBJS)