Simplify makefile rule

Instead of writing out the .c -> .o rule, use the default one, so that
dependency tracking can be used.
pull/3/head
Peter Eisentraut 14 years ago
parent aebe989477
commit 2227bb9c94
  1. 3
      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

Loading…
Cancel
Save