screen shrinking done
[mc1516pa.git] / modelchecker / Makefile
index 1bdebb8..97496e7 100644 (file)
@@ -1,8 +1,11 @@
 PROGRAM:=main
-CFLAGS:=-O3 -Wextra -Wall -Werror -fno-strict-aliasing -std=gnu11 \
-       -I./sylvan/src# -I./sylvan/examples/.
+OBJS:=sokoban.o mc.o
 
-all: $(PROGRAM)
+CFLAGS=-O3 -Wextra -Wall -Werror -fno-strict-aliasing -std=gnu11 \
+       -I./sylvan/src
+
+$(PROGRAM): $(PROGRAM).o $(OBJS)
+       $(CC) $< $(OBJS) -o $@
 
 clean:
-       $(RM) -v $(PROGRAM)
+       $(RM) -v $(PROGRAM).o $(PROGRAM) $(OBJS)