From 16b62b61c0de11f9b89c4805a9b37e9bbc2ec12f Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 23 Sep 2024 14:20:25 +0200 Subject: dup 8.3 --- Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Makefile (limited to 'Makefile') 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 -- cgit