|
Server IP : 185.61.154.36 / Your IP : 216.73.216.44 Web Server : Apache System : Linux host67.registrar-servers.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64 User : gettoplisting ( 12043) PHP Version : 7.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /home/../usr/sbin/../lib64/libxslt-plugins/../python2.7/compiler/../Demo/embed/ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
# Makefile for embedded Python use demo. # (This version originally written on Red Hat Linux 6.1; # edit lines marked with XXX.) # XXX The compiler you are using CC= gcc # XXX Top of the build tree and source tree blddir= ../.. srcdir= ../.. # Python version VERSION= 2.7 # Compiler flags OPT= -g INCLUDES= -I$(srcdir)/Include -I$(blddir) CFLAGS= $(OPT) CPPFLAGS= $(INCLUDES) # The Python library LIBPYTHON= $(blddir)/libpython$(VERSION).a # XXX edit LIBS (in particular) to match $(blddir)/Makefile LIBS= -lnsl -ldl -lreadline -ltermcap -lieee -lpthread -lutil LDFLAGS= -Xlinker -export-dynamic SYSLIBS= -lm MODLIBS= ALLLIBS= $(LIBPYTHON) $(MODLIBS) $(LIBS) $(SYSLIBS) # Build the demo applications all: demo loop importexc demo: demo.o $(CC) $(LDFLAGS) demo.o $(ALLLIBS) -o demo loop: loop.o $(CC) $(LDFLAGS) loop.o $(ALLLIBS) -o loop importexc: importexc.o $(CC) $(LDFLAGS) importexc.o $(ALLLIBS) -o importexc # Administrative targets test: demo ./demo COMMAND="print 'hello world'" looptest: loop ./loop $(COMMAND) clean: -rm -f *.o core clobber: clean -rm -f *~ @* '#'* demo loop importexc realclean: clobber