diff options
Diffstat (limited to '')
-rw-r--r-- | tests/Makefile | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/tests/Makefile b/tests/Makefile new file mode 100644 index 0000000..db5caa7 --- /dev/null +++ b/tests/Makefile @@ -0,0 +1,32 @@ +.POSIX: + +BIN =\ + abort.t\ + cont.t\ + exec.t\ + exit.t\ + fork.t\ + fork-stop.t\ + kill.t\ + raise.t\ + siginfo.t\ + signal.t\ + stop.t\ + threads.t\ + tstp.t\ + vfork.t\ + vfork-exec.t + +all: $(BIN) +$(BIN): $(@:.t=.c) + +.c.t: + $(CC) -static -pthread -Og -g -o $@ $< -D_XOPEN_SOURCE=700 + +clean: + -rm -f -- $(BIN) + +.SUFFIXES: +.SUFFIXES: .t .c + +.PHONY: all clean |