#
# Makefile for HistoPlot, a simple 1D Histogram
#
# (C) 1997 Patrick Schemitz
#

include ../../mk.korigin

default: histo.o

histo.moc: histo.h
	$(MOC) histo.h -o histo.moc

histo.o: histo.cc histo.h histo.moc
	$(CXX) $(CXXFLAGS) -c histo.cc
	cp histo.o $(KORIGIN)/lib
	cp histo.h $(KORIGIN)/doc/tmp

clean:
	rm -f *.o *.moc
	rm -f core *~

install: histo.o
	cp histo.o $(KORIGIN)/lib
	cp histo.h $(KORIGIN)/doc/tmp

doc:
	cp histo.h $(KORIGIN)/doc/tmp
