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

Diff for /OpenXM/doc/oxlib/Attic/Makefile between version 1.1 and 1.8

version 1.1, 2000/02/08 13:25:41 version 1.8, 2005/11/12 02:38:01
Line 1 
Line 1 
 # $OpenXM$  # $OpenXM: OpenXM/doc/oxlib/Makefile,v 1.7 2003/03/08 07:49:59 takayama Exp $
 all : test1 test2  all : install-lib
           make all-samples
   all-samples : test test1 test2 test3
   install-lib:
   ##
   ## make
   ## make OpenXM_HOME=/usr/local/OpenXM
   CC=gcc
   OpenXM_HOME=../../../OpenXM
   LIBDIR=${OpenXM_HOME}/lib
   INCDIR=${OpenXM_HOME}/include
   
 ASIR_SOURCE=../../OpenXM_contrib2/asir2000  ASIR_LIB=$(LIBDIR)/libasir.a
 A=$(ASIR_SOURCE)  ASIR_LIB_PARI_X=$(LIBDIR)/libasir_pari_X.a
 P=$(HOME)/OpenXM/lib  GC=$(LIBDIR)/libasir-gc.a
 INCLUDE=$(P)/../doc/OpenXM-web  #EXTRALIB=-lnsl -lsocket
   EXTRALIB=
   
 ASIR_LIB=${P}/libasir.a  INCLUDE=$(INCDIR)
 ASIR_LIB_PARI_X=$(P)/libasir_pari_X.a  
 GC=$(P)/libasir-gc.a  
   
 ## test1 : test1.o  ## test1 : test1.o
 test1 : test1.o  test1 : test1.o
         gcc -o test1 test1.o $(ASIR_LIB) $(GC) -lm          gcc -o test1 test1.o $(ASIR_LIB) $(GC) $(EXTRALIB) -lm
   
 ## test2 : test2.o  ## test2 : test2.o
 test2 : test2.o  test2 : test2.o
         gcc -o test2 test2.o $(ASIR_LIB) $(GC) -lm          gcc -o test2 test2.o $(ASIR_LIB) $(GC) $(EXTRALIB) -lm
   
   ## test3 : test3.o
   test3 : test3.o
           gcc -o test3 test3.o $(ASIR_LIB) $(GC) $(EXTRALIB) -lm
   
   ## test : test.o
   test : test.o
           gcc -o test test.o $(ASIR_LIB) $(GC) $(EXTRALIB) -lm
   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 $<
   
   
   
   
   
 clean :  clean :
         rm -f test1 test2  *.o *~ *.a          rm -f test test1 test2 test3 *.o *~ *.a  a.out

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.8

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