Project

General

Profile

Statistics
| Branch: | Revision:

cool / src / lib / GMLMIP-0.1 / rules / makefile @ 7c4d2eb4

History | View | Annotate | Download (1.05 KB)

1
include ../config.mk
2

    
3
all: premise.o GML_premise.o PML_premise.o valuation.o setofconclusions.o sizefunctions.o radixtree.o
4

    
5
sizefunctions.o: sizefunctions.h sizefunctions.cpp
6
	$(GCC) $(GCCFLAGS) -c sizefunctions.cpp
7

    
8
premise.o: premise.h premise.cpp
9
	$(GCC) $(GCCFLAGS) -c premise.cpp
10

    
11
GML_premise.o: sizefunctions.h premise.h GML_premise.h GML_premise.cpp
12
	$(GCC) $(GCCFLAGS) -c GML_premise.cpp
13

    
14
PML_premise.o: sizefunctions.h premise.h PML_premise.h PML_premise.cpp
15
	$(GCC) $(GCCFLAGS) -c PML_premise.cpp
16

    
17
valuation.o: valuation.h valuation.cpp
18
	$(GCC) $(GCCFLAGS) -c valuation.cpp
19

    
20
setofconclusions.o: setofconclusions.h valuation.h premise.h setofconclusions.cpp
21
	$(GCC) $(GCCFLAGS) -c setofconclusions.cpp
22

    
23
radixtree.o: radixtree.h radixtree.cpp
24
	$(GCC) $(GCCFLAGS) -c radixtree.cpp
25

    
26
test: all test.o
27
	$(GCC) $(GCCFLAGS) -lglpk -lbdd ../formulas/rational.o test.o premise.o GML_premise.o PML_premise.o valuation.o setofconclusions.o sizefunctions.o -o test
28

    
29
test.o: test.cpp GML_premise.h valuation.h
30
	$(GCC) $(GCCFLAGS) -c test.cpp
31

    
32
clean:
33
	rm -rf *~ *.o test *.txt