blob: ad727fcbf58a2645b5e21d560eb503f5546c640b [file] [log] [blame]
Mike Frysingerb51ce622013-05-02 15:43:45 -04001CFLAGS += -Wall
2
Mike Frysinger48d31592013-05-02 15:44:42 -04003PROGS = \
Dmitry V. Levin01717522015-12-30 23:28:35 +00004 sig skodic clone leaderkill childthread \
Mike Frysinger48d31592013-05-02 15:44:42 -04005 sigkill_rain wait_must_be_interruptible threaded_execve \
Denys Vlasenko68ba1902015-03-21 20:59:39 +01006 mtd ubi seccomp sfd mmap_offset_decode x32_lseek x32_mmap \
7 many_looping_threads
Mike Frysinger48d31592013-05-02 15:44:42 -04008
9all: $(PROGS)
Roland McGrathe1e57b22007-07-05 18:43:18 +000010
11leaderkill: LDFLAGS += -pthread
Wichert Akkerman76baf7c1999-02-19 00:21:36 +000012
Roland McGrath276ceb32007-11-13 08:12:12 +000013childthread: LDFLAGS += -pthread
14
Denys Vlasenko68ba1902015-03-21 20:59:39 +010015many_looping_threads: LDFLAGS += -pthread
16
Wichert Akkerman76baf7c1999-02-19 00:21:36 +000017clean distclean:
Mike Frysinger48d31592013-05-02 15:44:42 -040018 rm -f *.o core $(PROGS) *.gdb
19
20.PHONY: all clean distclean