Commit 2f19d11f authored by Bruce Momjian's avatar Bruce Momjian

Clean up ecpg test files.

parent 3e24112b
......@@ -48,7 +48,6 @@ extern "C"
#ifdef __cplusplus
}
#endif
#endif
all: test1 test2 test3 test4 perftest dyntest dyntest2
LDFLAGS=-g -I /usr/local/pgsql/include -L/usr/local/pgsql/lib -lecpg -lpq -lcrypt
#LDFLAGS=-g -I../include -I/usr/include/postgresql -L../lib -L/usr/lib/postgresql -lecpg -lpq -lcrypt
#LDFLAGS=-g -I/usr/include/postgresql -lecpg -lpq -lcrypt
LDFLAGS=-g -I /usr/local/pgsql/include -L/usr/local/pgsql/lib -lecpg -lpq
#ECPG=/usr/local/pgsql/bin/ecpg
ECPG=../preproc/ecpg -I../include
#ECPG=/usr/bin/ecpg -I/usr/include/postgresql
.SUFFIXES: .pgc .c
......@@ -22,4 +18,4 @@ dyntest2: dyntest2.c
$(ECPG) $?
clean:
-/bin/rm test1 test2 test3 test4 perftest *.c log dyntest dyntest2
rm -f test1 test2 test3 test4 perftest *.c log dyntest dyntest2
exec sql include sqlca;
exec sql whenever sqlerror do PrintAndStop(msg);
......@@ -15,8 +17,6 @@ void warn(void)
fprintf(stderr, "Warning: At least one column was truncated\n");
}
exec sql include sqlca;
/* comment */
exec sql define AMOUNT 6;
......
exec sql include header_test;
exec sql type c is char reference;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment