Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
cython
Commits
b3dbeb31
Commit
b3dbeb31
authored
Feb 16, 2011
by
Lisandro Dalcin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix makefile for embed testcase
parent
14f62011
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Demos/embed/Makefile
Demos/embed/Makefile
+2
-2
No files found.
Demos/embed/Makefile
View file @
b3dbeb31
...
...
@@ -5,7 +5,7 @@ PYVERSION=$(shell $(PYTHON) -c "import sys; print(sys.version[:3])")
INCDIR
=
$(
shell
$(PYTHON)
-c
"from distutils import sysconfig; print(sysconfig.get_python_inc(
))
"
)
LIBDIR1
=
$(
shell
$(PYTHON)
-c
"from distutils import sysconfig; print(sysconfig.get_config_var('LIBDIR'
))
"
)
LIBDIR2
=
$(
shell
$(PYTHON)
-c
"from distutils import sysconfig; print(sysconfig.get_config_var('LIBPL'
))
"
)
STATIC_PYLIB
=
$(
shell
$(PYTHON)
-c
"from distutils import sysconfig; print(sysconfig.get_config_var('LIBRARY'
)
)
"
)
PYLIB
=
$(
shell
$(PYTHON)
-c
"from distutils import sysconfig; print(sysconfig.get_config_var('LIBRARY'
)
[3:-2]
)
"
)
CC
=
$(
shell
$(PYTHON)
-c
"import distutils.sysconfig; print(distutils.sysconfig.get_config_var('CC'
))
"
)
LINKCC
=
$(
shell
$(PYTHON)
-c
"import distutils.sysconfig; print(distutils.sysconfig.get_config_var('LINKCC'
))
"
)
...
...
@@ -14,7 +14,7 @@ LIBS=$(shell $(PYTHON) -c "import distutils.sysconfig; print(distutils.sysconfig
SYSLIBS
=
$(
shell
$(PYTHON)
-c
"import distutils.sysconfig; print(distutils.sysconfig.get_config_var('SYSLIBS'
))
"
)
embedded
:
embedded.o
$(LINKCC)
-o
$@
$^
$(LIBDIR1)
/
$(STATIC_PYLIB)
$(LINKFORSHARED)
-L
$(LIBDIR1)
-L
$(LIBDIR2)
$(LIBS)
$(SYSLIBS
)
$(LINKCC)
-o
$@
$^
-L
$(LIBDIR1)
-L
$(LIBDIR2)
-l
$(PYLIB)
$(LIBS)
$(SYSLIBS)
$(LINKFORSHARED
)
embedded.o
:
embedded.c
$(CC)
-c
$^
-I
$(INCDIR)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment