-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
35 lines (30 loc) · 1006 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# A Makefile for bayescor, bbnet and gbnet
objcomm = bayesub.o globals.o sa.o CmdLine.o fisher2.o
objfunc = func.o CmdLine.o
objscor = bayescor.o $(objcomm)
objbb = bbnet.o $(objcomm)
objgb = gbnet.o $(objcomm)
func bayescor bbnet gbnet: $(objfunc) $(objscor) $(objbb) $(objgb)
g++ -m32 -o func $(objfunc)
g++ -m32 -o bayescor $(objscor)
g++ -m32 -o bbnet $(objbb)
g++ -m32 -o gbnet $(objgb)
func.o: prepsub.h CmdLine.h
g++ -O3 -m32 -c func.cpp
bayescor.o bbnet.o: bayesub.h globals.h CmdLine.h
g++ -O3 -m32 -c bayescor.cpp bbnet.cpp
gbnet.o: bayesub.h globals.h sa.h CmdLine.h
g++ -O3 -m32 -c gbnet.cpp
bayesub.o: bayesub.h globals.h sa.h fisher2.h
g++ -O3 -m32 -c bayesub.cpp
sa.o: sa.h badefs.h
g++ -O3 -m32 -c sa.cpp
globals.o: globals.h
g++ -O3 -m32 -c globals.cpp
CmdLine.o: CmdLine.h
g++ -O3 -m32 -c CmdLine.cpp
fisher2.o: fisher2.h Boolean.h Constants.h Memory.h
g++ -O3 -m32 -c fisher2.cpp
clean:
rm -f $(objfunc) $(objscor) $(objbb) $(objgb)
rm -f func bayescor bbnet gbnet