mirror of
https://github.com/postgres/postgres.git
synced 2026-04-15 22:10:45 -04:00
Simplify makefile rule
Instead of writing out the .c -> .o rule, use the default one, so that dependency tracking can be used.
This commit is contained in:
parent
aebe989477
commit
2227bb9c94
1 changed files with 1 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue