summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-07-24 23:51:45 +0200
committerBram Moolenaar <Bram@vim.org>2010-07-24 23:51:45 +0200
commit170bf1aed576cea59a18c9015a3c7d417053c335 (patch)
treea3d3ee620442f962634a912372c8fea01048cd50 /src/Makefile
parent365bdf7a7b2e28624186eed398af542cb9cc3fdb (diff)
downloadvim-git-170bf1aed576cea59a18c9015a3c7d417053c335.tar.gz
Move some common code from if_python.c and if_python3.c to if_py_both.h.
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Makefile b/src/Makefile
index f0c2316f6..f9120938c 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -2517,10 +2517,10 @@ objects/py3_config.o: $(PYTHON3_CONFDIR)/config.c
$(CCC) $(PYTHON3_CFLAGS) -o $@ $(PYTHON3_CONFDIR)/config.c \
-I$(PYTHON3_CONFDIR) -DHAVE_CONFIG_H -DNO_MAIN
-objects/if_python.o: if_python.c
+objects/if_python.o: if_python.c if_py_both.h
$(CCC) $(PYTHON_CFLAGS) $(PYTHON_CFLAGS_EXTRA) -o $@ if_python.c
-objects/if_python3.o: if_python3.c
+objects/if_python3.o: if_python3.c if_py_both.h
$(CCC) $(PYTHON3_CFLAGS) $(PYTHON3_CFLAGS_EXTRA) -o $@ if_python3.c
objects/if_ruby.o: if_ruby.c