This repository has been archived on 2018-10-12. You can view files and clone it, but cannot push or open issues or pull requests.
OpenSQLManager/makefile

14 lines
506 B
Makefile

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} -O0 -o OpenSQLManager.o OpenSQLManager.c ${CFLAGS}
${CC} -O0 -o OpenSQLManager OpenSQLManager.o ${LDFLAGS}
release: OpenSQLManager.c
${CC} -Os -o OpenSQLManager.o OpenSQLManager.c ${CFLAGS}
${CC} -Os -o OpenSQLManager OpenSQLManager.o ${LDFLAGS}
clean:
rm -f OpenSQLManager.o