MAKEFLAGS += --no-builtin-rules CC=gcc CFLAGS=-std=c11 -pedantic -Wall -Werror -D_XOPEN_SOURCE=700 -c -g LD=gcc LDFLAGS= .PHONY: all clean all: T02-troll T05-troll clean: rm -f T02-troll T02-troll.o rm -f T05-troll T05-troll.o T02-troll: T02-troll.o T02-troll.o: T02-troll.c T05-troll: T05-troll.o T05-troll.o: T05-troll.c %: %.o $(LD) $(LDFLAGS) -o $@ $^ %.o: %.c $(CC) $(CFLAGS) -o $@ $<