@@ -62,13 +62,13 @@ endif
6262ifeq ($(MODE ) ,REF)
6363 FLAGS += -DBUILD_REFERENCE
6464else
65- FLAGS += -DRUN_TESTS -fopenmp -DCODI_EnableOpenMP -DCODI_EnableOpDiLib
65+ FLAGS += -DRUN_TESTS -fopenmp -DCODI_EnableOpenMP -DCODI_EnableOpDiLib
6666endif
6767
6868ifeq ($(BACKEND ) ,MACRO)
69- FLAGS += -DOPDI_USE_MACRO_BACKEND
69+ FLAGS += -DOPDI_USE_MACRO_BACKEND
7070else
71- FLAGS += -DOPDI_USE_OMPT_BACKEND
71+ FLAGS += -DOPDI_USE_OMPT_BACKEND
7272endif
7373
7474EXCLUDE_TESTS ?=
@@ -134,17 +134,17 @@ $(DRIVERS):
134134 LINK_CASES=$$ LINK_CASES" " $$ driver$$ test; \
135135 printf " $$ driver$$ test.o:\n" >> tempmakefile; \
136136 if [ $( EXPLICIT_PREPROCESSOR) = " no" ] ; then \
137- printf "\t$(CXX) $(BUILD_DIR)/$$driver$$test.cpp -c -o $(BUILD_DIR)/$$driver$$test.o $(FLAGS) $(DRIVER_FLAGS) -I $(CODI_DIR) -I $(OPDI_DIR)\n" >> tempmakefile; \
137+ printf " \t$( CXX) $( BUILD_DIR) /$$ driver$$ test.cpp -c -o $( BUILD_DIR) /$$ driver$$ test.o $( FLAGS) $( DRIVER_FLAGS) -I $( CODI_DIR) -I $( OPDI_DIR) \n" >> tempmakefile; \
138138 else \
139- printf "\t$(CXX) -E $(BUILD_DIR)/$$driver$$test.cpp -o $(BUILD_DIR)/$$driver$$test.temp $(FLAGS) $(DRIVER_FLAGS) -I $(CODI_DIR) -I $(OPDI_DIR)\n" >> tempmakefile; \
139+ printf " \t$( CXX) -E $( BUILD_DIR) /$$ driver$$ test.cpp -o $( BUILD_DIR) /$$ driver$$ test.temp $( FLAGS) $( DRIVER_FLAGS) -I $( CODI_DIR) -I $( OPDI_DIR) \n" >> tempmakefile; \
140140 printf " \tcat $( BUILD_DIR) /$$ driver$$ test.temp | grep -v \" # \" > $( BUILD_DIR) /$$ driver$$ (test)Pre.cpp\n" >> tempmakefile; \
141141 printf " \t" $(CXX ) " " $(BUILD_DIR ) " /" $$ driver$$ test" Pre.cpp -c -o " $(BUILD_DIR ) " /" $$ driver$$ test" Pre.o " $(FLAGS ) " -I " $(CODI_DIR ) " -I " $(OPDI_DIR ) " \n" >> tempmakefile; \
142142 fi ; \
143143 printf " $$ driver$$ test: $$ driver$$ test.o\n" >> tempmakefile; \
144144 if [ $( EXPLICIT_PREPROCESSOR) = " no" ] ; then \
145- printf "\t$(CXX) $(BUILD_DIR)/$$driver$$test.o -o $(BUILD_DIR)/$$driver$$test $(FLAGS) $(DRIVER_FLAGS) $(LDFLAGS)\n" >> tempmakefile; \
145+ printf " \t$( CXX) $( BUILD_DIR) /$$ driver$$ test.o -o $( BUILD_DIR) /$$ driver$$ test $( FLAGS) $( DRIVER_FLAGS) $( LDFLAGS) \n" >> tempmakefile; \
146146 else \
147- printf "\t$(CXX) $(BUILD_DIR)/$$driver$$(test)Pre.o -o $(BUILD_DIR)/$$driver$$(test)Pre $(FLAGS) $(DRIVER_FLAGS) $(LDFLAGS)\n" >> tempmakefile; \
147+ printf " \t$( CXX) $( BUILD_DIR) /$$ driver$$ (test)Pre.o -o $( BUILD_DIR) /$$ driver$$ (test)Pre $( FLAGS) $( DRIVER_FLAGS) $( LDFLAGS) \n" >> tempmakefile; \
148148 fi \
149149 done ; \
150150 printf " build_all:$$ BUILD_CASES\n" >> tempmakefile; \
0 commit comments