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