aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-07-11 00:31:13 +0200
committerMattias Andrée <maandree@kth.se>2016-07-11 00:31:13 +0200
commit37777e89cd284e8cbd621969eeccc1e54972e4b0 (patch)
treefd89fac0151cd54c6dd60200d0fb187fa8b6e1c3 /Makefile
parentSort outputs by name (diff)
downloadcoopgammad-37777e89cd284e8cbd621969eeccc1e54972e4b0.tar.gz
coopgammad-37777e89cd284e8cbd621969eeccc1e54972e4b0.tar.bz2
coopgammad-37777e89cd284e8cbd621969eeccc1e54972e4b0.tar.xz
Implement -p
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ccaa8e1..cd24caf 100644
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,7 @@
+PKGNAME = gammad
+COMmAND = gammad
+
+
SRC = filter gammad output ramps
OPTIMISE = -Og -g
@@ -16,7 +20,7 @@ FFLAGS = -fstrict-aliasing -fstrict-overflow -fipa-pure-const -ftree-vrp -fstack
CCFLAGS = -std=c99 $(WARN) $(FFLAGS) $(OPTIMISE)
LDFLAGS = $(OPTIMISE) -lgamma
-CPPFLAGS =
+CPPFLAGS = -D'PKGNAME="$(PKGNAME)"' -D'COMMAND="$(COMMAND)"'
.PHONY: all