Annotation of OpenXM/doc/oxlib/Makefile, Revision 1.8
1.8 ! takayama 1: # $OpenXM: OpenXM/doc/oxlib/Makefile,v 1.7 2003/03/08 07:49:59 takayama Exp $
1.7 takayama 2: all : install-lib
3: make all-samples
4: all-samples : test test1 test2 test3
5: install-lib:
1.4 takayama 6: ##
7: ## make
8: ## make OpenXM_HOME=/usr/local/OpenXM
1.2 takayama 9: CC=gcc
1.4 takayama 10: OpenXM_HOME=../../../OpenXM
11: LIBDIR=${OpenXM_HOME}/lib
12: INCDIR=${OpenXM_HOME}/include
1.3 noro 13:
14: ASIR_LIB=$(LIBDIR)/libasir.a
15: ASIR_LIB_PARI_X=$(LIBDIR)/libasir_pari_X.a
16: GC=$(LIBDIR)/libasir-gc.a
17: #EXTRALIB=-lnsl -lsocket
18: EXTRALIB=
19:
20: INCLUDE=$(INCDIR)
1.1 takayama 21:
22: ## test1 : test1.o
23: test1 : test1.o
1.3 noro 24: gcc -o test1 test1.o $(ASIR_LIB) $(GC) $(EXTRALIB) -lm
1.1 takayama 25:
26: ## test2 : test2.o
27: test2 : test2.o
1.3 noro 28: gcc -o test2 test2.o $(ASIR_LIB) $(GC) $(EXTRALIB) -lm
29:
30: ## test3 : test3.o
31: test3 : test3.o
32: gcc -o test3 test3.o $(ASIR_LIB) $(GC) $(EXTRALIB) -lm
1.1 takayama 33:
1.6 noro 34: ## test : test.o
35: test : test.o
36: gcc -o test test.o $(ASIR_LIB) $(GC) $(EXTRALIB) -lm
1.8 ! takayama 37: test1-tcp-rev: test1-tcp-rev.c
! 38: gcc -o test1-tcp-rev test1-tcp-rev.c
1.6 noro 39:
1.1 takayama 40: .c.o :
1.2 takayama 41: ${CC} $(CFLAGS) -I$(INCLUDE) -c -g $<
1.1 takayama 42:
43:
44:
45:
46:
47: clean :
1.6 noro 48: rm -f test test1 test2 test3 *.o *~ *.a a.out
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>