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

Annotation of OpenXM/doc/oxlib/Makefile, Revision 1.6

1.6     ! noro        1: # $OpenXM: OpenXM/doc/oxlib/Makefile,v 1.5 2000/09/07 21:34:06 takayama Exp $
        !             2: all : test test1 test2 test3
1.4       takayama    3: ##
                      4: ## make
                      5: ## make OpenXM_HOME=/usr/local/OpenXM
1.2       takayama    6: CC=gcc
1.4       takayama    7: OpenXM_HOME=../../../OpenXM
                      8: LIBDIR=${OpenXM_HOME}/lib
                      9: INCDIR=${OpenXM_HOME}/include
1.3       noro       10:
                     11: ASIR_LIB=$(LIBDIR)/libasir.a
                     12: ASIR_LIB_PARI_X=$(LIBDIR)/libasir_pari_X.a
                     13: GC=$(LIBDIR)/libasir-gc.a
                     14: #EXTRALIB=-lnsl -lsocket
                     15: EXTRALIB=
                     16:
                     17: INCLUDE=$(INCDIR)
1.1       takayama   18:
                     19: ## test1 : test1.o
                     20: test1 : test1.o
1.3       noro       21:        gcc -o test1 test1.o $(ASIR_LIB) $(GC) $(EXTRALIB) -lm
1.1       takayama   22:
                     23: ## test2 : test2.o
                     24: test2 : test2.o
1.3       noro       25:        gcc -o test2 test2.o $(ASIR_LIB) $(GC) $(EXTRALIB) -lm
                     26:
                     27: ## test3 : test3.o
                     28: test3 : test3.o
                     29:        gcc -o test3 test3.o $(ASIR_LIB) $(GC) $(EXTRALIB) -lm
1.1       takayama   30:
1.6     ! noro       31: ## test : test.o
        !            32: test : test.o
        !            33:        gcc -o test test.o $(ASIR_LIB) $(GC) $(EXTRALIB) -lm
        !            34:
        !            35:
1.1       takayama   36: .c.o :
1.2       takayama   37:        ${CC} $(CFLAGS) -I$(INCLUDE) -c -g $<
1.1       takayama   38:
                     39:
                     40:
                     41:
                     42:
                     43: clean :
1.6     ! noro       44:        rm -f test test1 test2 test3 *.o *~ *.a  a.out

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