BUILD := debug cflags.debug := -Wall -o0 -g -DDEBUG=1 cflags.release := -os -s CFLAGS := ${cflags.${BUILD}} test: main ./main main: clean clean: rm -f ./main %: $(CC) $(CFLAGS) -o $@ $@.c