CC = gcc CFLAGS = -c `/opt/php-embed/bin/php-config --includes` -Wall -g LDFLAGS = -L/Library/Frameworks/Firebird.framework/Libraries -L/opt/php-embed/lib -lphp5 `/opt/php-embed/bin/php-config --libs` all: OpenSQLManager.c ${CC} -o OpenSQLManager.o OpenSQLManager.c ${CFLAGS} ${CC} -o OpenSQLManager OpenSQLManager.o ${LDFLAGS}