[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / OpenXM / doc / oxlib

Diff for /OpenXM/doc/oxlib/Attic/Makefile between version 1.4 and 1.9

version 1.4, 2000/03/17 02:04:08 version 1.9, 2012/02/22 05:33:02
Line 1 
Line 1 
 # $OpenXM: OpenXM/doc/oxlib/Makefile,v 1.3 2000/03/16 07:34:37 noro Exp $  # $OpenXM: OpenXM/doc/oxlib/Makefile,v 1.8 2005/11/12 02:38:01 takayama Exp $
 all : test1 test2 test3  all : install-lib
           make all-samples
   all-samples : test test1 test2 test3
   install-lib:
           -(cd ../../lib ; ln -s ../../OpenXM_contrib2/asir2000/libasir.a .)
 ##  ##
 ## make  ## make
 ## make OpenXM_HOME=/usr/local/OpenXM  ## make OpenXM_HOME=/usr/local/OpenXM
Line 10  INCDIR=${OpenXM_HOME}/include
Line 14  INCDIR=${OpenXM_HOME}/include
   
 ASIR_LIB=$(LIBDIR)/libasir.a  ASIR_LIB=$(LIBDIR)/libasir.a
 ASIR_LIB_PARI_X=$(LIBDIR)/libasir_pari_X.a  ASIR_LIB_PARI_X=$(LIBDIR)/libasir_pari_X.a
   PARI_LIB=$(LIBDIR)/libpari.a
 GC=$(LIBDIR)/libasir-gc.a  GC=$(LIBDIR)/libasir-gc.a
 #EXTRALIB=-lnsl -lsocket  #EXTRALIB=-lnsl -lsocket
 EXTRALIB=  EXTRALIB=
   LOPT=-L/usr/X11R6/lib -lm -lX11 -lXt -lXaw
   
 INCLUDE=$(INCDIR)  INCLUDE=$(INCDIR)
   
 ## test1 : test1.o  
 test1 : test1.o  test1 : test1.o
         gcc -o test1 test1.o $(ASIR_LIB) $(GC) $(EXTRALIB) -lm          gcc -o test1 test1.o $(ASIR_LIB) $(PARI_LIB) $(GC) $(EXTRALIB) $(LOPT)
   
 ## test2 : test2.o  ## test2 : test2.o
 test2 : test2.o  test2 : test2.o
         gcc -o test2 test2.o $(ASIR_LIB) $(GC) $(EXTRALIB) -lm          gcc -o test2 test2.o $(ASIR_LIB) $(PARI_LIB) $(GC) $(EXTRALIB) $(LOPT)
   
 ## test3 : test3.o  ## test3 : test3.o
 test3 : test3.o  test3 : test3.o
         gcc -o test3 test3.o $(ASIR_LIB) $(GC) $(EXTRALIB) -lm          gcc -o test3 test3.o $(ASIR_LIB) $(PARI_LIB) $(GC) $(EXTRALIB) $(LOPT)
   
   ## test : test.o
   test : test.o
           gcc -o test test.o $(ASIR_LIB) $(PARI_LIB) $(GC) $(EXTRALIB) $(LOPT)
   test1-tcp-rev: test1-tcp-rev.c
           gcc -o test1-tcp-rev test1-tcp-rev.c
   
 .c.o :  .c.o :
         ${CC} $(CFLAGS) -I$(INCLUDE) -c -g $<          ${CC} $(CFLAGS) -I$(INCLUDE) -c -g $<
   
Line 36  test3 : test3.o 
Line 47  test3 : test3.o 
   
   
 clean :  clean :
         rm -f test1 test2 test3 *.o *~ *.a          rm -f test test1 test2 test3 *.o *~ *.a  a.out

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.9

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>