CC = gcc CFLAGS = SRC := syscalls bscopy OUT := syscalls.out bscopy.out .PHONY: all clean all: $(SRC) %: %.c $(CC) $(CFLAGS) -o $@.out $^ clean: rm $(OUT)