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
6e614e3d
Kaydet (Commit)
6e614e3d
authored
Tem 19, 1997
tarafından
Guido van Rossum
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Updated the Makefile to work with the new build strategy.
üst
8aea8d96
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
19 deletions
+18
-19
Makefile
Demo/embed/Makefile
+18
-19
No files found.
Demo/embed/Makefile
Dosyayı görüntüle @
6e614e3d
# Makefile for embedded Python use demo
# Makefile for embedded Python use demo.
# (This version tailored for CNRI and Solaris; edit lines marked with XXX.)
# Top of the build tree and source tree
# XXX The compiler you are using
CC
=
gcc
# XXX Top of the build tree and source tree
blddir
=
../..
blddir
=
../..
srcdir
=
../..
srcdir
=
../..
# Python version
VERSION
=
1.5
# Compiler flags
# Compiler flags
OPT
=
-g
OPT
=
-g
INCLUDES
=
-I
$(srcdir)
/Include
-I
$(blddir)
INCLUDES
=
-I
$(srcdir)
/Include
-I
$(blddir)
DEFINES
=
-DHAVE_CONFIG_H
CFLAGS
=
$(OPT)
$(INCLUDES)
CFLAGS
=
$(OPT)
$(DEFINES)
$(INCLUDES)
# Libraries (must be in this order!)
# The Python library
MYLIBS
=
$(blddir)
/Modules/libModules.a
\
LIBPYTHON
=
$(blddir)
/libpython
$(VERSION)
.a
$(blddir)
/Python/libPython.a
\
$(blddir)
/Objects/libObjects.a
\
$(blddir)
/Parser/libParser.a
# XXX edit MODLIBS, LIBS and SYSLIBS to match $(blddir)/Modules/Makefile
# XXX edit LIBS (in particular) to match $(blddir)/Modules/Makefile
MODLIBS
=
LIBS
=
-lsocket
-lnsl
-ldl
-lreadline
-ltermcap
LIBS
=
SYSLIBS
=
-lm
SYSLIBS
=
-lm
ALLLIBS
=
$(MYLIBS)
$(MODLIBS)
$(LIBS)
$(SYSLIBS)
MODLIBS
=
ALLLIBS
=
$(LIBPYTHON)
$(MODLIBS)
$(LIBS)
$(SYSLIBS)
# Build the demo application
# Build the demo application
all
:
demo
all
:
demo
demo
:
demo.o config.o
demo
:
demo.o
$(CC)
demo.o config.o
$(ALLLIBS)
-o
demo
$(CC)
demo.o
$(ALLLIBS)
-o
demo
# Build config.o, suppressing the main() function
config.o
:
$(blddir)/Modules/config.c
$(CC)
$(CFLAGS)
-DNO_MAIN
-c
$(blddir)
/Modules/config.c
# Administrative targets
# Administrative targets
...
...
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