CXXFLAGS+=$(shell root-config --cflags) LDFLAGS+=$(shell root-config --glibs) CXXFLAGS+=$(shell dim-config --cflags) LDFLAGS+=$(shell dim-config --libs) oripwr: oripwr.o \ MainFrame.o \ OriPower.o \ Dict.o Dict.cc Dict.h: \ MainFrame.hh \ OriPower.hh rm -f Dict.cc Dict.h rootcint $@ -c $^ oripwr.o MainFrame.o: OriPower.hh .PHONY: clean clean: rm -f *.o Dict.h Dict.cc oripwr