diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2012-04-29 20:59:12 +0300 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2012-04-29 21:20:14 +0300 |
commit | 2227bb9c948d2dcc167d414630ed3bae7f31db83 (patch) | |
tree | af893d0ffd366497a606ac302c9d8adc9520bcd4 /src/port/Makefile | |
parent | aebe989477ac5a9f7b59ae464ec68ec45975ed3f (diff) | |
download | postgresql-2227bb9c948d2dcc167d414630ed3bae7f31db83.tar.gz |
Simplify makefile rule
Instead of writing out the .c -> .o rule, use the default one, so that
dependency tracking can be used.
Diffstat (limited to 'src/port/Makefile')
-rw-r--r-- | src/port/Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/port/Makefile b/src/port/Makefile index 4e3a8edd3a..0225b397a3 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 |