summaryrefslogtreecommitdiff
path: root/BSDmakefile
diff options
context:
space:
mode:
authorJan Klemkow <j.klemkow@wemelug.de>2012-11-19 02:20:01 +0100
committerJan Klemkow <j.klemkow@wemelug.de>2012-11-19 02:20:01 +0100
commit85705d923afe021a06bba99e347fd04c0a5a117d (patch)
tree92d7bda9a50131ae9f44d0c79d3b855681b188e2 /BSDmakefile
parent0e94237429a1941aaa95652eb5b522b04e0a8e61 (diff)
downloadwbs-85705d923afe021a06bba99e347fd04c0a5a117d.tar.gz
wbs-85705d923afe021a06bba99e347fd04c0a5a117d.tar.bz2
wbs-85705d923afe021a06bba99e347fd04c0a5a117d.zip
Add compile options for OpenBSD current.HEADmaster
Diffstat (limited to 'BSDmakefile')
-rw-r--r--BSDmakefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/BSDmakefile b/BSDmakefile
index 650d0cf..229580d 100644
--- a/BSDmakefile
+++ b/BSDmakefile
@@ -1,4 +1,6 @@
-all: pd_server tit4tat prisoners_dilemma
+GPLCFLAGS=-C '-fno-pie' -L '-nopie'
+
+all: pd_server tit4tat prisoners_dilemma battle
tit4tat: tit4tat.c
gcc -std=c99 -Wall -o $@ $<
@@ -7,10 +9,10 @@ pd_server: pd_server.c
gcc -o $@ $>
prisoners_dilemma: prisoners_dilemma.pl
- gplc -o $@ $>
+ gplc ${GPLCFLAGS} -o $@ $>
battle: battle.c pay.pl
- gplc $>
+ gplc ${GPLCFLAGS} $>
clean:
rm -f tit4tat prisoners_dilemma battle