1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-19 13:42:17 +03:00

Update ecpg to use snprintf

This commit is contained in:
Bruce Momjian
2000-02-28 23:28:41 +00:00
parent 9418e701b3
commit da8b899d6c
3 changed files with 10 additions and 1 deletions

View File

@@ -14,6 +14,13 @@ OBJ=preproc.o pgc.o type.o ecpg.o ecpg_keywords.o output.o\
all:: ecpg
ifneq (@SNPRINTF@,)
OBJS+=$(SRCDIR)/backend/port/snprintf.o
$(SRCDIR)/backend/port/snprintf.o:
$(MAKE) -C $(SRCDIR)/backend/port snprintf.o
endif
# Rule that really do something.
ecpg: $(OBJ)
$(CC) -o ecpg $(OBJ) $(LEXLIB) $(LDFLAGS)