summaryrefslogtreecommitdiff
path: root/BSDmakefile
diff options
context:
space:
mode:
Diffstat (limited to 'BSDmakefile')
-rw-r--r--BSDmakefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/BSDmakefile b/BSDmakefile
new file mode 100644
index 0000000..0d6e469
--- /dev/null
+++ b/BSDmakefile
@@ -0,0 +1,13 @@
+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 $@ $>
+
+clean:
+ rm -f tit4tat prisoners_dilemma