From 19e231bbdaef792dce22100012b504e2fb72f971 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Fri, 12 Nov 2010 22:15:16 +0200 Subject: Improved parallel make support Replace for loops in makefiles with proper dependencies. Parallel make can now span across directories. Also, make -k and make -q work properly. GNU make 3.80 or newer is now required. --- src/bin/initdb/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/bin/initdb') diff --git a/src/bin/initdb/Makefile b/src/bin/initdb/Makefile index 99c8b1bca40..903fbc10970 100644 --- a/src/bin/initdb/Makefile +++ b/src/bin/initdb/Makefile @@ -20,9 +20,9 @@ override CPPFLAGS := -DFRONTEND -I$(libpq_srcdir) $(CPPFLAGS) OBJS= initdb.o encnames.o pqsignal.o $(WIN32RES) -all: submake-libpgport initdb +all: initdb -initdb: $(OBJS) +initdb: $(OBJS) | submake-libpgport $(CC) $(CFLAGS) $(OBJS) $(LDFLAGS) $(LDFLAGS_EX) $(LIBS) -o $@$(X) # We used to pull in all of libpq to get encnames and pqsignal, but that -- cgit v1.2.3