From: Mart Lubbers Date: Wed, 23 Mar 2016 10:10:14 +0000 (+0100) Subject: epic makeflie X-Git-Url: https://git.martlubbers.net/?a=commitdiff_plain;h=db6a5586cac869c5502526cc9a5f2e98f6353398;p=mc1516pa.git epic makeflie --- diff --git a/modelchecker/Makefile b/modelchecker/Makefile index 83816ec..5c295e6 100644 --- a/modelchecker/Makefile +++ b/modelchecker/Makefile @@ -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)