summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 01bd11cd9e6b799a8a8e537c319f997f80cb053c (plain)
1
2
3
4
5
6
7
8
9
10
SRCDIR := $(shell pwd)
NAME   := $(shell basename $(SRCDIR))
INCL   := $(shell php-config --includes)
LIBE   := -lphp7
LIBS   := -lphp7 $(shell php-config --libs)

include ../../common/Makefile

tembed: tembed.c
	gcc -Wall $(INCL) tembed.c $(LIBS) -o tembed