Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2227bb9

Browse files
committed
Simplify makefile rule
Instead of writing out the .c -> .o rule, use the default one, so thatdependency tracking can be used.
1 parentaebe989 commit2227bb9

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)

[8]ページ先頭

©2009-2025 Movatter.jp