1all: 2 3include ../lib.mk 4 5.PHONY: all clean 6 7TARGETS := validate_cap test_execve 8TEST_PROGS := test_execve 9 10CFLAGS := -O2 -g -std=gnu99 -Wall -lcap-ng 11 12all: $(TARGETS) 13 14clean: 15 $(RM) $(TARGETS) 16 17$(TARGETS): %: %.c 18 $(CC) -o $@ $(CFLAGS) $(EXTRA_CFLAGS) $^ -lrt -ldl 19