summaryrefslogtreecommitdiff
path: root/src/port/Makefile
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2003-08-13 03:12:04 +0000
committerBruce Momjian <bruce@momjian.us>2003-08-13 03:12:04 +0000
commitc090b053feb1fba9b4dfe9177a679414aea125d8 (patch)
treeaaea0b9de901adccbf4bbc0e38ae1e9ef869d018 /src/port/Makefile
parent92345910718baa4217def15e886bba10b55ed905 (diff)
downloadpostgresql-c090b053feb1fba9b4dfe9177a679414aea125d8.tar.gz
I'm quite fond of doing VPATH builds, i.e. building outside the source
tree. This also catches lots of little Makefile bugs, so here's a small patch for one of them (replacing an explicit reference to thread.c with a reference to it as the first prerequsite of the rule makes make look for it in the place where it was found (the source tree) rather than in the build tree. (using GNU make 3.79.1) John Gray
Diffstat (limited to 'src/port/Makefile')
-rw-r--r--src/port/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/port/Makefile b/src/port/Makefile
index 653f5b3b83..740c58657e 100644
--- a/src/port/Makefile
+++ b/src/port/Makefile
@@ -7,7 +7,7 @@
# with broken/missing library files.
# IDENTIFICATION
-# $Header: /cvsroot/pgsql/src/port/Makefile,v 1.5 2003/08/08 02:55:08 momjian Exp $
+# $Header: /cvsroot/pgsql/src/port/Makefile,v 1.6 2003/08/13 03:12:04 momjian Exp $
#
#-------------------------------------------------------------------------
@@ -23,7 +23,7 @@ libpgport.a: $(LIBOBJS)
$(AR) crs $@ $^
thread.o: thread.c
- $(CC) $(CFLAGS) $(CPPFLAGS) $(THREAD_CFLAGS) -c thread.c
+ $(CC) $(CFLAGS) $(CPPFLAGS) $(THREAD_CFLAGS) -c $<
clean distclean maintainer-clean:
rm -f libpgport.a $(LIBOBJS)