Last change
on this file since 17963 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 |
|
---|
3 | SOURCES = BIASctrl.cc Crate.cc User.cc ../pixelmap/Pixel.cc ../pixelmap/PixelMap.cc ../Evidence/Evidence.cc
|
---|
4 | OBJECTS = $(addsuffix .o, $(basename $(SOURCES)))
|
---|
5 | INCDIRS = -I. -I../Evidence -I./src -I$(DIMDIR)/dim
|
---|
6 |
|
---|
7 | CPPFLAGS = -O3 -Wall $(INCDIRS)
|
---|
8 | LDLIBS = -L/usr/lib/termcap -lstdc++ -lpthread -lreadline -ltermcap $(DIMDIR)/linux/libdim.a
|
---|
9 |
|
---|
10 | BIASctrl: $(OBJECTS)
|
---|
11 |
|
---|
12 | clean:
|
---|
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.