# Makefile for BIASctrl SOURCES = BIASctrl.cc Crate.cc ProcessIO.cc ../pixelmap/Pixel.cc ../pixelmap/PixelMap.cc ../Evidence/Evidence.cc OBJECTS = $(addsuffix .o, $(basename $(SOURCES))) INCDIRS = -I. -I../Evidence -I./src -I$(DIMDIR)/dim CPPFLAGS = -O3 -Wall $(INCDIRS) LDLIBS = -L/usr/lib/termcap -lstdc++ -lpthread -lfl -lreadline -ltermcap $(DIMDIR)/linux/libdim.a BIASctrl: $(OBJECTS) clean: @rm -f $(OBJECTS) *.d *~ BIASctrl -include Dep.d # Implicit rules %.d : @echo "Generating dependencies" $@ @$(CC) -MM $(SOURCES) $(INCDIRS) \ | sed 's/^\(.*\).o:/$@ \1.o:/' > $@