Commit 946bce1f authored by Mulas, Giacomo's avatar Mulas, Giacomo
Browse files

correct wildcard rules (brown paper bag error in variable expansion...)

parent b040897f
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -41,16 +41,16 @@ override CXXLDFLAGS=-L/usr/lib64 -L$(HDF5_LIB) -lhdf5 $(LDFLAGS)
endif

%.o : %.f
	$(FC) $(FCFLAGS) -c -o $(OBJDIR)/$@ $<
	$(FC) $(FCFLAGS) -c -o $@ $<

%.o : %.cpp
	$(CXX) $(CXXFLAGS) -c -o $(OBJDIR)/$@ $<
	$(CXX) $(CXXFLAGS) -c -o $@ $<

$(OBJDIR)/%.o : %.f
	$(FC) $(FCFLAGS) -c -o $(OBJDIR)/$@ $<
	$(FC) $(FCFLAGS) -c -o $@ $<

$(OBJDIR)/%.o : %.cpp
	$(CXX) $(CXXFLAGS) -c -o $(OBJDIR)/$@ $<
	$(CXX) $(CXXFLAGS) -c -o $@ $<

$(OBJDIR)/%.o : ../libnptm/%.cpp
	$(CXX) $(CXXFLAGS) -c -o $(OBJDIR)/$@ ../libnptm/$<
	$(CXX) $(CXXFLAGS) -c -o $@ $<