# --------------------------------------------------------------------------- # # This Makefile represents the part of the general Makefile which handels # specific action(s) for a single file. # # The options for the various actions, including compilation, linking and # removing of file are defined here. # # This Makefile also specifies the top-level default target. # --------------------------------------------------------------------------- include $(JPP_DIR)/Makedefines default:: all install %: %.o $(CXX) $(LDFLAGS) -o $@ $^ $(LOADLIBES) %.o: %.cc %.d $(CXX) $(CXXFLAGS) $(CPPFLAGS) -c -o $@ $< %.so : %.o $(CXX) $(LDFLAGS) $(SOFLAGS) -o $@ $^ %.a : %.o $(AR) $(ARFLAGS) $@ $^ %.d: %.cc @/bin/echo -n "$@ " > $@ @$(CXX) $(CXXFLAGS) $(CPPFLAGS) -MM -MP $^ >> $@