Annotation of OpenXM/src/k097/try/Makefile, Revision 1.1.1.1
1.1 maekawa 1: BDATE =19970304
2: ## Kan source. kan sources must be built up by hand.
3: KHOME = /home/nobuki/SSkopen
4: LOAD_SM1_PATH ='"/home/nobuki/SSkopen/Kan/"'
5: ########### end of configuration.
6:
7:
8: CC = gcc
9: CPP = g++
10: MYINCLUDE = -I/usr/lib/g++-include
11: KAN_HOME = $(KHOME)/Kan
12: KAN_MSG0 = $(KAN_HOME)/msg0.o $(KAN_HOME)/msg0p.o
13: KAN_MSG0P = $(KAN_HOME)/msg0p.o
14: GMP_HOME = $(KHOME)/gmp
15: #LIBGMP = $(GMP_HOME)/libgmp.a
16: ## This line is for buggy linux-gmp.
17: LIBGMP = $(GMP_HOME)/libgmp.a $(GMP_HOME)/mpn/libmpn.a
18: GC = $(KHOME)/gc/gc.a
19:
20: all : t0
21:
22: ## link test with C++
23: t0 : t0.o $(KAN_HOME)/kanlib.a $(KAN_MSG0) $(GC) $(GMP)
24: $(CPP) $(FLAG) -I$(GMP_HOME) -I$(KAN_HOME) -o t0 t0.o $(KAN_MSG0) $(KAN_HOME)/kanlib.a $(LIBGMP) $(GC)
25:
26: t0.o : t0.cc
27: $(CPP) -c $(FLAG) $(MYINCLUDE) -I$(GMP_HOME) -I$(KAN_HOME) -o t0.o t0.cc
28:
29: bridge.o : bridge.c
30: $(CC) -c bridge.c
31:
32: clean :
33: /bin/rm -f *.o *~ t0
34:
35:
36:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>