summaryrefslogtreecommitdiff
path: root/BSDmakefile
blob: 229580d336d1881d4fd9bfe4cdeae692d3462a52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
GPLCFLAGS=-C '-fno-pie' -L '-nopie'

all: pd_server tit4tat prisoners_dilemma battle

tit4tat: tit4tat.c
	gcc -std=c99 -Wall -o $@ $<

pd_server: pd_server.c
	gcc -o $@ $>

prisoners_dilemma: prisoners_dilemma.pl
	gplc ${GPLCFLAGS} -o $@ $>

battle: battle.c pay.pl
	gplc ${GPLCFLAGS} $>

clean:
	rm -f tit4tat prisoners_dilemma battle