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

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

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

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