head	1.1;
branch	1.1.1;
access;
symbols
	initial_release:1.1.1.1
	JK:1.1.1;
locks; strict;
comment	@# @;


1.1
date	2000.08.01.17.40.05;	author jkybic;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2000.08.01.17.40.05;	author jkybic;	state Exp;
branches;
next	;


desc
@@


1.1
log
@Initial revision
@
text
@# Makefile for embedded Python use demo.
# (This version tailored for CNRI and Solaris; 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=	1.5

# Compiler flags
OPT=		-g
INCLUDES=	-I$(srcdir)/Include -I$(blddir)
CFLAGS=		$(OPT) $(INCLUDES)

# The Python library
LIBPYTHON=		$(blddir)/libpython$(VERSION).a

# XXX edit LIBS (in particular) to match $(blddir)/Modules/Makefile
LIBS=		-lsocket -lnsl -ldl  -lreadline -ltermcap
SYSLIBS=	-lm
MODLIBS=	
ALLLIBS=	$(LIBPYTHON) $(MODLIBS) $(LIBS) $(SYSLIBS)

# Build the demo application
all:		demo
demo:		demo.o
		$(CC) demo.o $(ALLLIBS) -o demo

# Administrative targets

test:		demo
		./demo

clean:
		-rm -f *.o core

clobber:	clean
		-rm -f *~ @@* '#'* demo
@


1.1.1.1
log
@
Python-1.5.2 compiled for Linux on Psion. Imported by Jan.Kybic@@epfl.ch
@
text
@@
