From: Peter Eisentraut Date: Sun, 29 Apr 2012 17:59:12 +0000 (+0300) Subject: Simplify makefile rule X-Git-Tag: REL9_2_BETA1~80 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2227bb9c948d2dcc167d414630ed3bae7f31db83;p=thirdparty%2Fpostgresql.git Simplify makefile rule Instead of writing out the .c -> .o rule, use the default one, so that dependency tracking can be used. --- diff --git a/src/port/Makefile b/src/port/Makefile index 4e3a8edd3a1..0225b397a30 100644 --- a/src/port/Makefile +++ b/src/port/Makefile @@ -53,8 +53,7 @@ libpgport.a: $(OBJS) $(AR) $(AROPT) $@ $^ # thread.o needs PTHREAD_CFLAGS (but thread_srv.o does not) -thread.o: thread.c - $(CC) $(CFLAGS) $(CPPFLAGS) $(PTHREAD_CFLAGS) -c $< +thread.o: CFLAGS+=$(PTHREAD_CFLAGS) # # Server versions of object files