[Python-checkins] CVS: python/dist/src/Modules ccpython.cc,NONE,2.1 Makefile.pre.in,1.59,1.60

Guido van Rossum guido@cnri.reston.va.us
Thu, 16 Dec 1999 12:52:10 -0500 (EST)


Update of /projects/cvsroot/python/dist/src/Modules
In directory eric:/projects/python/develop/guido/src/Modules

Modified Files:
	Makefile.pre.in 
Added Files:
	ccpython.cc 
Log Message:
Patch and new file by Geoff Furnish for C++ compilation.



Index: Makefile.pre.in
===================================================================
RCS file: /projects/cvsroot/python/dist/src/Modules/Makefile.pre.in,v
retrieving revision 1.59
retrieving revision 1.60
diff -C2 -r1.59 -r1.60
*** Makefile.pre.in	1999/04/12 16:42:13	1.59
--- Makefile.pre.in	1999/12/16 17:52:08	1.60
***************
*** 18,22 ****
  VPATH=		@srcdir@
  
! @SET_CCC@
  CC=		@CC@
  RANLIB=		@RANLIB@
--- 18,22 ----
  VPATH=		@srcdir@
  
! @SET_CXX@
  CC=		@CC@
  RANLIB=		@RANLIB@
***************
*** 96,100 ****
  OBJS=		$(MODOBJS) $(FIXOBJS)
  
! MAINOBJ=	python.o
  
  SYSLIBS=	$(LIBM) $(LIBC)
--- 96,101 ----
  OBJS=		$(MODOBJS) $(FIXOBJS)
  
! #MAINOBJ=	python.o
! MAINOBJ=	@MAINOBJ@
  
  SYSLIBS=	$(LIBM) $(LIBC)
***************
*** 243,246 ****
--- 244,250 ----
  			fi; \
  		done
+ 
+ ccpython.o: ccpython.cc
+ 	$(CXX) $(CFLAGS) -c $*.cc
  
  # Stuff is appended here by makesetup and make depend