Makefile change

s
This commit is contained in:
Christian Reiling
2019-07-19 10:27:32 +02:00
parent afb67f29a5
commit 9ea0f76237
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -63,7 +63,7 @@ LIBNUMREC = -lnumrec_mt -lF77
# Die eigentlichen OFLAGS werden bei Linux-amd64 aus den noch spezifischeren # Die eigentlichen OFLAGS werden bei Linux-amd64 aus den noch spezifischeren
# Makeincludes gesetzt, und hier dann nur reingedrückt. # Makeincludes gesetzt, und hier dann nur reingedrückt.
X_OFLAGS = -Ofast $(X_OPT) -fpermissive X_OFLAGS = -O2 $(X_OPT) -fpermissive
## Teilchen-Fliesskommagenauigkeit ## Teilchen-Fliesskommagenauigkeit
# Entweder long double... # Entweder long double...
+1 -1
View File
@@ -1,2 +1,2 @@
X_OPT = -march=native X_OPT =
include $(HOMEBASE)/src/makeinclude/Linux-amd64 include $(HOMEBASE)/src/makeinclude/Linux-amd64
+1 -1
View File
@@ -6,4 +6,4 @@ include $(HOMEBASE)/src/makeinclude/ostype.mak
@test -d $(X_OSTYPE) || mkdir $(X_OSTYPE) @test -d $(X_OSTYPE) || mkdir $(X_OSTYPE)
@cd $(X_OSTYPE); $(MAKE) -f../makefile2 $@ @cd $(X_OSTYPE); $(MAKE) -f../makefile2 $@
all: all:
+2 -2
View File
@@ -26,10 +26,10 @@ mcelectron: main.o simulation.o $(OBJS)
$(MPICXX) -o $@ $^ $(LDFLAGS) $(LOADLIBES) $(MPICXX) -o $@ $^ $(LDFLAGS) $(LOADLIBES)
mcelectron_serial: main_serial.o simulation_serial.o $(OBJS) mcelectron_serial: main_serial.o simulation_serial.o $(OBJS)
$(CXX) -o $@ $^ $(LDFLAGS) $(LOADLIBES) $(CXX) -o $@ $^ $(LDFLAGS) $(LOADLIBES) -std=c++11
%.o : %.cpp %.o : %.cpp
$(CXX) -c $< $(CXXFLAGS) -o $@ $(MPICXX) -c $< $(CXXFLAGS) -o $@ -std=c++11
clean: clean:
rm *.o mcelectron mcelectron_serial rm *.o mcelectron mcelectron_serial