summaryrefslogtreecommitdiff
path: root/BSDmakefile
diff options
context:
space:
mode:
authorJan Klemkow <j.klemkow@wemelug.de>2012-11-09 01:46:26 +0100
committerJan Klemkow <j.klemkow@wemelug.de>2012-11-09 01:46:26 +0100
commitc7bc1ffb63c61ffef8bbb5023c01802308eab42b (patch)
treef341a4b1095471dcee273a20a72365bcd503c573 /BSDmakefile
parent7c63f85777e1a1effbe7b3e6a826ae21fff3033f (diff)
downloadwbs-c7bc1ffb63c61ffef8bbb5023c01802308eab42b.tar.gz
wbs-c7bc1ffb63c61ffef8bbb5023c01802308eab42b.tar.bz2
wbs-c7bc1ffb63c61ffef8bbb5023c01802308eab42b.zip
Add makefile for BSD make.
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