about summary refs log tree commit diff
path: root/perl/Makefile
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2017-03-31T12·13+0200
committerEelco Dolstra <edolstra@gmail.com>2017-03-31T12·13+0200
commitc0745a2531f67f741ea9a5472e523a28ddc02be7 (patch)
treecbf9e67c1b51060015e8998053b9c86eba28585e /perl/Makefile
parentc60715e937e3773bbb8a114fc9b9c6577f8c5cb5 (diff)
parenta75475ca611fbc9074792a30740d19fd3a3a6cf7 (diff)
Merge branch 'remove-perl' of https://github.com/shlevy/nix
Diffstat (limited to 'perl/Makefile')
-rw-r--r--perl/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/perl/Makefile b/perl/Makefile
new file mode 100644
index 000000000000..41a32576e9b6
--- /dev/null
+++ b/perl/Makefile
@@ -0,0 +1,14 @@
+makefiles = local.mk
+
+GLOBAL_CXXFLAGS += -std=c++11 -g -Wall
+
+-include Makefile.config
+
+OPTIMIZE = 1
+
+ifeq ($(OPTIMIZE), 1)
+  GLOBAL_CFLAGS += -O3
+  GLOBAL_CXXFLAGS += -O3
+endif
+
+include mk/lib.mk