Commit 2227bb9c authored by Peter Eisentraut's avatar Peter Eisentraut

Simplify makefile rule

Instead of writing out the .c -> .o rule, use the default one, so that
dependency tracking can be used.
parent aebe9894
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment