summaryrefslogtreecommitdiff
path: root/BSDmakefile
blob: 650d0cf3a42f62154abd6003a72ddd144be9b5ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
all: pd_server tit4tat prisoners_dilemma

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

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

prisoners_dilemma: prisoners_dilemma.pl
	gplc -o $@ $>

battle: battle.c pay.pl
	gplc $>

clean:
	rm -f tit4tat prisoners_dilemma battle