Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 175c25a

Browse files
author
Neil Conway
committed
Fix ecpg's test/ Makefile for out-of-tree (vpath) builds.
1 parent dd4eea2 commit 175c25a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/interfaces/ecpg/test/Makefile

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $PostgreSQL: pgsql/src/interfaces/ecpg/test/Makefile,v 1.49 2005/06/02 12:35:11 meskes Exp $
1+
# $PostgreSQL: pgsql/src/interfaces/ecpg/test/Makefile,v 1.50 2005/06/30 07:01:57 neilc Exp $
22

33
subdir = src/interfaces/ecpg/test
44
top_builddir = ../../../..
@@ -23,12 +23,12 @@ all: $(TESTS)
2323

2424
test_informix: test_informix.o
2525
$(CC) $(CFLAGS) $(LDFLAGS) -L../compatlib -L../ecpglib -L ../pgtypeslib -L../../libpq $^ $(LIBS) -lpgtypes -lecpg -lecpg_compat -lpq $(PTHREAD_LIBS) -o $@
26-
26+
2727
%.c: %.pgc
28-
$(ECPG) $<
28+
$(ECPG) -o $@ -I$(srcdir) $<
2929

3030
test_informix.c: test_informix.pgc
31-
$(ECPG) -C INFORMIX -r no_indicator $<
31+
$(ECPG) -o $@ -C INFORMIX -r no_indicator $<
32+
3233
clean:
3334
rm -f $(TESTS) $(TESTS:%=%.o) $(TESTS:%=%.c) log
34-

0 commit comments

Comments
 (0)