diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2011-04-25 21:23:26 +0200 |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2011-04-25 21:23:26 +0200 |
commit | eec60603a89eabf8945a0928b5b105f6e923d1ea (patch) | |
tree | f352568f03f9012e1225289033d0782e60677749 /Makefile.pre.in | |
parent | f645451d78f046c4df47ed420f7c38948f81eeb0 (diff) | |
parent | 72562d065e51a62023f585037e6d5eb4ccb71784 (diff) | |
download | cpython-git-eec60603a89eabf8945a0928b5b105f6e923d1ea.tar.gz |
Issue #10914: Add a minimal embedding test to test_capi.
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r-- | Makefile.pre.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in index 6a206c2afd..7912368ff1 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -394,7 +394,7 @@ LIBRARY_OBJS= \ # Default target all: build_all -build_all: $(BUILDPYTHON) oldsharedmods sharedmods gdbhooks +build_all: $(BUILDPYTHON) oldsharedmods sharedmods gdbhooks Modules/_testembed # Compile a binary with gcc profile guided optimization. profile-opt: @@ -539,6 +539,9 @@ Modules/Setup: $(srcdir)/Modules/Setup.dist echo "-----------------------------------------------"; \ fi +Modules/_testembed: Modules/_testembed.o $(LIBRARY) $(LDLIBRARY) $(PY3LIBRARY) + $(LINKCC) $(PY_LDFLAGS) $(LINKFORSHARED) -o $@ Modules/_testembed.o $(BLDLIBRARY) $(LIBS) $(MODLIBS) $(SYSLIBS) $(LDLAST) + ############################################################################ # Special rules for object files |