about summary refs log tree commit diff
path: root/perl/Makefile
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2016-08-12T13·44-0400
committerShea Levy <shea@shealevy.com>2017-02-07T20·56-0500
commitf7b7df8d1fcb41156fe92ef2ecf5b17074b88446 (patch)
treef82182ef4ca466809089e462e3261bce30055ef4 /perl/Makefile
parent418a837897e597c5dc2eb4e458462bd04b2abde7 (diff)
Add nix-perl package for the perl bindings
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