source: fact/BIASctrl/Makefile@ 17063

Last change on this file since 17063 was 11205, checked in by ogrimm, 13 years ago
Adaptions to allow compilation on Ubuntu
File size: 582 bytes
Line 
1# Makefile for BIASctrl
2
3SOURCES = BIASctrl.cc Crate.cc User.cc ../pixelmap/Pixel.cc ../pixelmap/PixelMap.cc ../Evidence/Evidence.cc
4OBJECTS = $(addsuffix .o, $(basename $(SOURCES)))
5INCDIRS = -I. -I../Evidence -I./src -I$(DIMDIR)/dim
6
7CPPFLAGS = -O3 -Wall $(INCDIRS)
8LDLIBS = -L/usr/lib/termcap -lstdc++ -lpthread -lreadline -ltermcap $(DIMDIR)/linux/libdim.a
9
10BIASctrl: $(OBJECTS)
11
12clean:
13 @rm -f $(OBJECTS) *.d *~ BIASctrl
14
15-include Dep.d
16
17# Implicit rules
18
19%.d :
20 @echo "Generating dependencies" $@
21 @$(CC) -MM $(SOURCES) $(INCDIRS) \
22 | sed 's/^\(.*\).o:/$@ \1.o:/' > $@
23
Note: See TracBrowser for help on using the repository browser.