diff options
author | Neil Conway <neilc@samurai.com> | 2005-06-30 07:01:57 +0000 |
---|---|---|
committer | Neil Conway <neilc@samurai.com> | 2005-06-30 07:01:57 +0000 |
commit | 175c25a40472d06656fbddc46f0e8a1e0b0cb867 (patch) | |
tree | 04b783c123ce35afee3cb627d198372ba705b3f5 | |
parent | dd4eea257b7284945fcd6b2018622e1ab612f300 (diff) | |
download | postgresql-175c25a40472d06656fbddc46f0e8a1e0b0cb867.tar.gz postgresql-175c25a40472d06656fbddc46f0e8a1e0b0cb867.zip |
Fix ecpg's test/ Makefile for out-of-tree (vpath) builds.
-rw-r--r-- | src/interfaces/ecpg/test/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/interfaces/ecpg/test/Makefile b/src/interfaces/ecpg/test/Makefile index 9ab5f25b055..79ac9049d61 100644 --- a/src/interfaces/ecpg/test/Makefile +++ b/src/interfaces/ecpg/test/Makefile @@ -1,4 +1,4 @@ -# $PostgreSQL: pgsql/src/interfaces/ecpg/test/Makefile,v 1.49 2005/06/02 12:35:11 meskes Exp $ +# $PostgreSQL: pgsql/src/interfaces/ecpg/test/Makefile,v 1.50 2005/06/30 07:01:57 neilc Exp $ subdir = src/interfaces/ecpg/test top_builddir = ../../../.. @@ -23,12 +23,12 @@ all: $(TESTS) test_informix: test_informix.o $(CC) $(CFLAGS) $(LDFLAGS) -L../compatlib -L../ecpglib -L ../pgtypeslib -L../../libpq $^ $(LIBS) -lpgtypes -lecpg -lecpg_compat -lpq $(PTHREAD_LIBS) -o $@ - + %.c: %.pgc - $(ECPG) $< + $(ECPG) -o $@ -I$(srcdir) $< test_informix.c: test_informix.pgc - $(ECPG) -C INFORMIX -r no_indicator $< + $(ECPG) -o $@ -C INFORMIX -r no_indicator $< + clean: rm -f $(TESTS) $(TESTS:%=%.o) $(TESTS:%=%.c) log - |