summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2013-08-24 17:38:05 +0200
committerEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2013-08-24 17:38:05 +0200
commitfe3c7fdf52e4bfd6e736a54c20eb12bb5cfd1f30 (patch)
treea25dfc32c8cf6f76fdf4071c1af66e68f7ee0512 /Makefile
parent308d4970599cc5e5f637cbd354498dd88c8eb3c2 (diff)
initial setup for library
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..2eb652a
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,17 @@
+PREFIX = /usr
+INCLUDE_DIR = ${PREFIX}/include
+LIBRARY_DIR = ${PREFIX}/lib
+
+all:
+ cd src; $(MAKE)
+
+clean:
+ cd src; $(MAKE) clean
+
+install:
+ mkdir -p ${INCLUDE_DIR}/phpcpp
+ mkdir -p ${LIBRARY_DIR}
+ cp -f phpcpp.h ${INCLUDE_DIR}
+ cp -f include/*.h ${INCLUDE_DIR}/phpcpp
+ cp -f src/libphpcpp.so ${LIBRARY_DIR}
+