-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathMakefile
More file actions
39 lines (27 loc) · 1.12 KB
/
Copy pathMakefile
File metadata and controls
39 lines (27 loc) · 1.12 KB
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
35
36
37
38
39
CC= g++
CFLAGS = -ansi -O3 -Wall -pedantic -g
WD = /l/disc1/home/lensi/lamg/
LIBDIR = $(WD)lib
LIBS = -L$(LIBDIR) -lboost_system -lm
INCLUDE = $(WD)include
.PHONY: clean all
all:
-@echo -e "Making test\n"
-make eseguimi
clean:
-rm -f *.o *~
LAMGLSSolver.o: LAMGLSSolver.cpp LAMGLSSolver.h Settings.h MDefs.h OPTtypes.h MCFLSSolver.h Levels.h MtxOps.h
$(CC) $(CFLAGS) -I$(INCLUDE) $(LIBS) -c $<
Levels.o: Levels.cpp MDefs.h OPTtypes.h Settings.h Levels.h MtxOps.h
$(CC) $(CFLAGS) -I$(INCLUDE) $(LIBS) -c $<
IPClass.o: IPClass.C IPClass.h OPTtypes.h OPTvect.h
$(CC) $(CFLAGS) -I$(INCLUDE) $(LIBS) -c $<
MCFInPnt.o: MCFInPnt.C MCFInPnt.h MCFClass.h OPTtypes.h IPClass.h MCFLSSolver.h OPTvect.h
$(CC) $(CFLAGS) -I$(INCLUDE) $(LIBS) -c $<
PCGLSSlv.o: PCGLSSlv.C PCGLSSlv.h OPTtypes.h MCFLSSolver.h OPTvect.h
$(CC) $(CFLAGS) -I$(INCLUDE) $(LIBS) -c $<
Main.o: Main.C MCFInPnt.h MCFClass.h OPTtypes.h IPClass.h MCFLSSolver.h PCGLSSlv.h OPTvect.h
$(CC) $(CFLAGS) -I$(INCLUDE) $(LIBS) -c $<
OBJ = LAMGLSSolver.o Levels.o IPClass.o MCFInPnt.o PCGLSSlv.o Main.o
eseguimi: $(OBJ)
$(CC) -I$(INCLUDE) $(CFLAGS) $(OBJ) $(LIBS) -o CIAO