diff options
author | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2014-03-05 10:17:26 +0100 |
---|---|---|
committer | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2014-03-05 10:17:26 +0100 |
commit | ed200cc18fb5fea88b8e9e2ff730af6cf1d50663 (patch) | |
tree | af2db9588d957d8cbdcb50cd7ce2d448eb4ef3a9 /src/Makefile | |
parent | 29ea3a29642f5cec612f102683e6d43aba226148 (diff) |
fixed some compiler warnings in value.cpp, added documentation on how to install PHP-CPP, removed the Makefile from the src directory and moved everything into the single Makefile in the library root directory, also updated the main (and now only) Makefile with instructions so that it is easier for others to understand
Diffstat (limited to 'src/Makefile')
-rw-r--r-- | src/Makefile | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/Makefile b/src/Makefile deleted file mode 100644 index 64b4eb1..0000000 --- a/src/Makefile +++ /dev/null @@ -1,23 +0,0 @@ -CPP = g++ -RM = rm -f -PHP_DIR = /usr/include/php5 -CPP_FLAGS = -c -I. -I${PHP_DIR} -I${PHP_DIR}/main -I${PHP_DIR}/ext -I${PHP_DIR}/Zend -I${PHP_DIR}/TSRM -g -std=c++11 - -LD = g++ -LD_FLAGS = -Wall -shared -O2 -RESULT = libphpcpp.so - -SOURCES = $(wildcard *.cpp) -OBJECTS = $(SOURCES:%.cpp=%.o) - -all: ${OBJECTS} ${RESULT} - -${RESULT}: ${OBJECTS} - ${LD} ${LD_FLAGS} -o $@ ${OBJECTS} - -clean: - ${RM} *.obj *~* ${OBJECTS} ${RESULT} - -${OBJECTS}: - ${CPP} ${CPP_FLAGS} -fpic -o $@ ${@:%.o=%.cpp} - |