1 CC ?= gcc 2 CFLAGS ?= -fno-stack-protector -Wno-builtin-memcpy-chk-size 3 4 BINS = badcode1 badcode2 5 6 all: $(BINS) 7 @(echo CC $<; $(CC) $(CFLAGS) $<.c -o $<) 8 9 clean: 10 @(echo CLEAN; $(RM) $(BINS)) 11