diff options
author | Remi Collet <remi@remirepo.net> | 2019-09-05 08:29:19 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2019-09-05 08:29:19 +0200 |
commit | 12436084f7377048e291406f04fae6dab1812e64 (patch) | |
tree | f713906f0604418cd8898a82c53ea5a50ea11570 /Makefile |
duplicate 7.3
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..78ac8ed --- /dev/null +++ b/Makefile @@ -0,0 +1,11 @@ +SRCDIR := $(shell pwd) +NAME := $(shell basename $(SRCDIR)) +INCL1 := $(shell php-config --includes) +INCL2 := -I $(shell php-config --include-dir)/sapi/embed +LIBE := -lphp7 +LIBS := -lphp7 $(shell php-config --libs) + +include ../../common/Makefile + +tembed: tembed.c + gcc -Wall $(INCL1) $(INCL2) tembed.c $(LIBE) -o tembed |