1999-11-02 13:11:53 +01:00
|
|
|
all: test1 test2 test3 test4 perftest
|
1998-05-06 15:03:47 +02:00
|
|
|
|
1999-12-16 07:53:12 +01:00
|
|
|
#LDFLAGS=-g -I /usr/local/pgsql/include -L/usr/local/pgsql/lib -lecpg -lpq -lcrypt
|
|
|
|
LDFLAGS=-g -I../include -I/usr/include/postgresql -L/usr/lib/postgresql -L../lib -lecpg -lpq -lcrypt
|
|
|
|
|
|
|
|
#ECPG=/usr/local/pgsql/bin/ecpg
|
|
|
|
ECPG=../preproc/ecpg -I../include
|
1998-05-06 15:03:47 +02:00
|
|
|
|
1999-11-02 13:11:53 +01:00
|
|
|
.SUFFIXES: .pgc .c
|
1998-02-10 17:44:17 +01:00
|
|
|
|
1999-11-02 13:11:53 +01:00
|
|
|
test1: test1.c
|
1998-02-10 17:44:17 +01:00
|
|
|
test2: test2.c
|
1999-03-05 10:38:51 +01:00
|
|
|
test3: test3.c
|
1999-11-02 13:11:53 +01:00
|
|
|
test4: test4.c
|
1998-02-10 17:44:17 +01:00
|
|
|
perftest: perftest.c
|
1999-11-02 13:11:53 +01:00
|
|
|
|
|
|
|
.pgc.c:
|
1999-12-16 07:53:12 +01:00
|
|
|
$(ECPG) $?
|
1998-02-10 17:44:17 +01:00
|
|
|
|
|
|
|
clean:
|
1999-11-02 13:11:53 +01:00
|
|
|
-/bin/rm test1 test2 test3 test4 perftest *.c log
|