From 4f34eb13d06cdfa7b526f7e0aced9955808ee0d3 Mon Sep 17 00:00:00 2001 From: tomsmeding Date: Tue, 8 Aug 2017 18:25:28 +0200 Subject: Add faster interpreter, and some stuff --- Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index fa4031c..0081677 100644 --- a/Makefile +++ b/Makefile @@ -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 $@ -- cgit v1.2.3-54-g00ecf