Hello All!
When I compile my c++ program using the Linux gcc compiler and the make file listed below, I get a whole bunch of additional diagnostics files saved on disk (presumably generated by the omp.h). Does anyone know how to suppress this (a flag?).
Thanks a lot!
Serguei
*** I am sorry for posting this in a wrong forum ***
Makefile:
BIN = EU27_Ind
SRC = EU27_Ind.cpp
#SRC = $(shell find src/ -name '*.cpp')
OBJ = $(SRC:src/%.cpp=obj/%.o)
CC = g++
#CFLAGS += -fast
CFLAGS += -O3
#openmp
CFLAGS += -fopenmp
#memory alignment
CFLAGS += -dalign
# create debug symbols
CFLAGS += -g
#sun performance library
#CFLAGS += -xlic_lib=sunperf
#shared mem parallel for sunperf
#CFALGS += -mt
#== build targets ==#
.PHONY: all clean run
all: $(BIN)
$(BIN): $(SRC)
$(CC) $(CFLAGS) $(SRC) -o $(BIN) $(LDFLAGS)
#obj/%.o: src/%.cpp
# mkdir -p obj
# $(CC) $(CFLAGS) -c $< -o $@
clean:
rm -f $(BIN)
rm -rf obj
run:
touch $(SRC)
make
./$(BIN)