diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..73e948a --- /dev/null +++ b/Makefile @@ -0,0 +1,16 @@ +CC := gcc +CFLAGS := -Wall -Wextra -std=c11 -O2 -fwrapv +BIN := bfcomp + +.PHONY: all clean remake + +all: $(BIN) + +clean: + rm -rf $(BIN) *.dSYM + +remake: clean all + + +$(BIN): $(wildcard *.c *.h) + $(CC) $(CFLAGS) -o $@ $(filter-out %.h,$^) |