summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/capabilities/Makefile
blob: 8c8f0c1f08894a9f6c6372b873a5c4e34b998540 (plain)
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