Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
20abb4e6
Kaydet (Commit)
20abb4e6
authored
Agu 14, 1997
tarafından
Guido van Rossum
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Added (commented-out) defs for use with the build tree instead of the
installed version.
üst
40d63584
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
3 deletions
+10
-3
Makefile
Demo/pysvr/Makefile
+10
-3
No files found.
Demo/pysvr/Makefile
Dosyayı görüntüle @
20abb4e6
# Makefile for 'pysvr' application embedding Python.
# Makefile for 'pysvr' application embedding Python.
# Tailored for Python 1.5a3 or later.
# Tailored for Python 1.5a3 or later.
# Some details are specific for Solaris or CNRI.
# Some details are specific for Solaris or CNRI.
# Also see ## comments for tailoring.
# Which C compiler
# Which C compiler
CC
=
gcc
CC
=
gcc
##PURIFY=/usr/local/pure/purify
LINKCC
=
$(PURIFY)
$(CC)
# Optimization preferences
# Optimization preferences
OPT
=
-g
OPT
=
-g
...
@@ -14,9 +17,13 @@ VER=1.5
...
@@ -14,9 +17,13 @@ VER=1.5
# Expressions using the above definitions -- no need to change
# Expressions using the above definitions -- no need to change
PYVER
=
python
$(VER)
PYVER
=
python
$(VER)
# Use these defs when compiling against installed Python
PYC
=
$(INST)
/lib/
$(PYVER)
/config
PYC
=
$(INST)
/lib/
$(PYVER)
/config
PYINCL
=
-I
$(INST)
/include/
$(PYVER)
-I
$(PYC)
PYINCL
=
-I
$(INST)
/include/
$(PYVER)
-I
$(PYC)
PYLIBS
=
$(PYC)
/libpython1.5.a
PYLIBS
=
$(PYC)
/lib
$(PYVER)
.a
# Use these defs when compiling against built Python
##PYINCL=-I../../Include -I../../sparc
##PYLIBS=../../sparc/lib$(PYVER).a
# Libraries to link with -- very installation dependent
# Libraries to link with -- very installation dependent
# (See LIBS= in Modules/Makefile in build tree)
# (See LIBS= in Modules/Makefile in build tree)
...
@@ -34,8 +41,8 @@ PORT=4000
...
@@ -34,8 +41,8 @@ PORT=4000
all
:
pysvr
all
:
pysvr
# Target to build pysvr
# Target to build pysvr
pysvr
:
pysvr.o $(PYOBJS)
pysvr
:
pysvr.o $(PYOBJS)
$(PYLIBS)
$(CC)
pysvr.o
$(LIBS)
-o
pysvr
$(
LINK
CC)
pysvr.o
$(LIBS)
-o
pysvr
# Target to build and run pysvr
# Target to build and run pysvr
run
:
pysvr
run
:
pysvr
...
...
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