Makefile (4ba24fef3eb3b142197135223b90ced2f319cd53) Makefile (5e29a9105b1a0da86eff0ad6ae015997b49d4d1d)
1CC = $(CROSS_COMPILE)gcc
2CFLAGS = -Wall
3BINARIES = execveat
4DEPS = execveat.symlink execveat.denatured script subdir
5all: $(BINARIES) $(DEPS)
6
7subdir:
8 mkdir -p $@

--- 4 unchanged lines hidden (view full) ---

13execveat.symlink: execveat
14 ln -s -f $< $@
15execveat.denatured: execveat
16 cp $< $@
17 chmod -x $@
18%: %.c
19 $(CC) $(CFLAGS) -o $@ $^
20
1CC = $(CROSS_COMPILE)gcc
2CFLAGS = -Wall
3BINARIES = execveat
4DEPS = execveat.symlink execveat.denatured script subdir
5all: $(BINARIES) $(DEPS)
6
7subdir:
8 mkdir -p $@

--- 4 unchanged lines hidden (view full) ---

13execveat.symlink: execveat
14 ln -s -f $< $@
15execveat.denatured: execveat
16 cp $< $@
17 chmod -x $@
18%: %.c
19 $(CC) $(CFLAGS) -o $@ $^
20
21run_tests: all
22 ./execveat
21TEST_PROGS := execveat
23
22
23include ../lib.mk
24
24clean:
25 rm -rf $(BINARIES) $(DEPS) subdir.moved execveat.moved xxxxx*
25clean:
26 rm -rf $(BINARIES) $(DEPS) subdir.moved execveat.moved xxxxx*