From 8b49e73d6089e4a9195ce01c3f4c95e85336397d Mon Sep 17 00:00:00 2001 From: Tom Smeding Date: Sat, 30 Jul 2016 18:26:24 +0200 Subject: Second --- Makefile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..55b2ef8 --- /dev/null +++ b/Makefile @@ -0,0 +1,16 @@ +CC = gcc +CFLAGS = -Wall -Wextra -std=c11 -O2 -fwrapv +BIN = main + +.PHONY: all clean remake + +all: $(BIN) + +clean: + rm -f $(BIN) *.o *.dSYM + +remake: clean all + + +$(BIN): $(wildcard *.c *.h) + $(CC) $(CFLAGS) -o $@ $(filter %.c,$^) -- cgit v1.2.3-70-g09d2