2000-03-03 14:24:06 +01:00
|
|
|
all: test1 test2 test3 test4 perftest dyntest dyntest2
|
1998-05-06 15:03:47 +02:00
|
|
|
|
2000-04-29 05:25:24 +02:00
|
|
|
LDFLAGS=-g -I /usr/local/pgsql/include -L/usr/local/pgsql/lib -lecpg -lpq
|
1999-12-16 07:53:12 +01:00
|
|
|
|
2000-05-17 08:03:14 +02:00
|
|
|
ECPG=/usr/local/pgsql/bin/ecpg -I../include
|
|
|
|
#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
|
2000-02-16 17:18:29 +01:00
|
|
|
dyntest: dyntest.c
|
2000-03-03 14:24:06 +01:00
|
|
|
dyntest2: dyntest2.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:
|
2000-05-17 08:03:14 +02:00
|
|
|
rm -f test1 test2 test3 test4 perftest *.c log dyntest dyntest2
|