diff options
author | Remi Collet <remi@remirepo.net> | 2022-09-02 08:13:23 +0200 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2022-09-02 08:13:23 +0200 |
commit | b8a8e0dcae66482c106ba134f3f2a9fc2bc0b163 (patch) | |
tree | b042ddba69a66fb60ba4491dcf32873bcbe9c8ec /Makefile |
duplicate 8.1
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 |