diff options
author | tomsmeding <tom.smeding@gmail.com> | 2017-08-08 18:25:28 +0200 |
---|---|---|
committer | tomsmeding <tom.smeding@gmail.com> | 2017-08-08 18:25:28 +0200 |
commit | 4f34eb13d06cdfa7b526f7e0aced9955808ee0d3 (patch) | |
tree | 91707211e007ad3f2cfbadd0d7b3292a3e0cad88 /Makefile | |
parent | 0bb9d719c86db457439ee8e012eb141c76eed307 (diff) |
Add faster interpreter, and some stuff
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -1,17 +1,17 @@ CC = gcc -CFLAGS = -Wall -Wextra -O2 -std=c11 -fwrapv +CFLAGS = -Wall -Wextra -O2 -std=c11 -fwrapv -D_POSIX_C_SOURCE -BIN = bfinter +TARGETS = bfinter bfinter2 .PHONY: all clean remake -all: $(BIN) +all: $(TARGETS) clean: - rm -f $(BIN) + rm -f $(TARGETS) remake: clean all -$(BIN): $(wildcard *.c *.h) - $(CC) $(CFLAGS) $(filter %.c,$^) -o $@ +$(TARGETS): %: %.c + $(CC) $(CFLAGS) $^ -o $@ |