Skip to content

Commit 2227bb9

Browse files
committed
Simplify makefile rule
Instead of writing out the .c -> .o rule, use the default one, so that dependency tracking can be used.
1 parent aebe989 commit 2227bb9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/port/Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,7 @@ libpgport.a: $(OBJS)
5353
$(AR) $(AROPT) $@ $^
5454

5555
# thread.o needs PTHREAD_CFLAGS (but thread_srv.o does not)
56-
thread.o: thread.c
57-
$(CC) $(CFLAGS) $(CPPFLAGS) $(PTHREAD_CFLAGS) -c $<
56+
thread.o: CFLAGS+=$(PTHREAD_CFLAGS)
5857

5958
#
6059
# Server versions of object files

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy