Annotation of OpenXM/doc/oxlib/Makefile, Revision 1.4
1.4 ! takayama 1: # $OpenXM: OpenXM/doc/oxlib/Makefile,v 1.3 2000/03/16 07:34:37 noro Exp $
1.3 noro 2: all : 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:
31: .c.o :
1.2 takayama 32: ${CC} $(CFLAGS) -I$(INCLUDE) -c -g $<
1.1 takayama 33:
34:
35:
36:
37:
38: clean :
1.3 noro 39: rm -f test1 test2 test3 *.o *~ *.a
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>