summaryrefslogtreecommitdiffstats
path: root/Makefile.pre.in
diff options
context:
space:
mode:
authorSjoerd Mullender <sjoerd@acm.org>2001-01-29 09:39:14 (GMT)
committerSjoerd Mullender <sjoerd@acm.org>2001-01-29 09:39:14 (GMT)
commit30be8708c544f1b6a0ebacf856915830c6b36d39 (patch)
tree7f61c50714ead151b083efc6467c6771f6768ce5 /Makefile.pre.in
parent6af0ce050166553cfd51556c6bd1853910d60739 (diff)
downloadcpython-30be8708c544f1b6a0ebacf856915830c6b36d39.zip
cpython-30be8708c544f1b6a0ebacf856915830c6b36d39.tar.gz
cpython-30be8708c544f1b6a0ebacf856915830c6b36d39.tar.bz2
Don't use $< in normal make rules: it's not portable. Using $< in
inference rules (e.g. .c.o) is fine.
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r--Makefile.pre.in12
1 files changed, 6 insertions, 6 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index 1395ab5..46e1c51 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -375,7 +375,7 @@ Modules/Setup: $(srcdir)/Modules/Setup.dist
# Special rules for object files
Modules/getbuildinfo.o: $(srcdir)/Modules/getbuildinfo.c buildno
- $(CC) -c $(PY_CFLAGS) -DBUILD=`cat buildno` -o $@ $<
+ $(CC) -c $(PY_CFLAGS) -DBUILD=`cat buildno` -o $@ $(srcdir)/Modules/getbuildinfo.c
Modules/getpath.o: $(srcdir)/Modules/getpath.c Makefile
$(CC) -c $(PY_CFLAGS) -DPYTHONPATH='"$(PYTHONPATH)"' \
@@ -383,10 +383,10 @@ Modules/getpath.o: $(srcdir)/Modules/getpath.c Makefile
-DEXEC_PREFIX='"$(exec_prefix)"' \
-DVERSION='"$(VERSION)"' \
-DVPATH='"$(VPATH)"' \
- -o $@ $<
+ -o $@ $(srcdir)/Modules/getpath.c
-Modules/ccpython.o: Modules/ccpython.cc
- $(CXX) -c $(PY_CFLAGS) -o $@ $<
+Modules/ccpython.o: $(srcdir)/Modules/ccpython.cc
+ $(CXX) -c $(PY_CFLAGS) -o $@ $(srcdir)/Modules/ccpython.cc
$(GRAMMAR_H) $(GRAMMAR_C): $(PGEN) $(GRAMMAR_INPUT)
@@ -405,10 +405,10 @@ Parser/metagrammar.o: $(srcdir)/Parser/metagrammar.c
Python/getplatform.o: $(srcdir)/Python/getplatform.c
- $(CC) -c $(CFLAGS) -DPLATFORM='"$(MACHDEP)"' -o $@ $<
+ $(CC) -c $(CFLAGS) -DPLATFORM='"$(MACHDEP)"' -o $@ $(srcdir)/Python/getplatform.c
Python/importdl.o: $(srcdir)/Python/importdl.c
- $(CC) -c $(CFLAGS) -I$(DLINCLDIR) -o $@ $<
+ $(CC) -c $(CFLAGS) -I$(DLINCLDIR) -o $@ $(srcdir)/Python/importdl.c
Objects/unicodectype.o: $(srcdir)/Objects/unicodectype.c \