BINS = ascii class depipe_strings dup fpipe pipe realloc strpbrk strsep \ tokenizer getopt CC = gcc DBGFLAGS = -g -O0 ifdef DEBUG CFLAGS = $(DBGFLAGS) -D DEBUG -std=gnu99 -Wall -pedantic else CFLAGS = -O2 -std=gnu99 -Wall -pedantic endif LDFLAGS = -lm all: $(BINS) $(BINS): %: %.c $(CC) $(CFLAGS) $^ -o $@ .PHONY: clean clean: rm -f ./$(BINS)