aboutsummaryrefslogtreecommitdiffstats
path: root/tests/Makefile
blob: db5caa7cb5e37726ba046b61e3447ef8f05ef496 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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