summaryrefslogtreecommitdiff
path: root/BSDmakefile
diff options
context:
space:
mode:
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