Menu

[r143]: / trunk / makefiles / Makefile.cxx_alpha  Maximize  Restore  History

Download this file

37 lines (23 with data), 722 Bytes

 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
#please set OMP_NUM_THREAD ?
CPP = cxx
COMP_FLAGS = -D__USE_STD_IOSTREAM -omp -tune host -arch host -fast -O4 -Wall
LINK_FLAGS = -D__USE_STD_IOSTREAM -omp -Wall
#MACROS = -DCPPL_VERBOSE -DCPPL_DEBUG
CPPLAPACK_INCLUDE_DIR = $(HOME)/local/lib/cpplapack/include
INCLUDE_DIRS = -I$(CPPLAPACK_INCLUDE_DIR)
LIB_DIRS =
LIBS = -lcxml
OBJECTS = main.o
###############################################################################
A.OUT: $(OBJECTS)
$(CPP) $(OBJECTS) $(LINK_FLAGS) $(LIB_DIRS) $(LIBS) -o $@
.SUFFIXES: .cpp .o
.cpp.o:
$(CPP) -c $< $(COMP_FLAGS) $(INCLUDE_DIRS) $(MACROS)
do: A.OUT
./A.OUT > std 2> err
clean:
rm -f *~ $(OBJECTS)
fullclean:
rm -f *~ $(OBJECTS) A.OUT std err
remake: clean A.OUT
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.