Line | |
---|
1 | #
|
---|
2 | # Makefile hvcontrol
|
---|
3 | #
|
---|
4 |
|
---|
5 | SOURCES = hvcontrol.cpp src/HV.cc src/HVConfig.cc src/HVCalib.cc src/ProcessIO.cc ../pixelmap/Pixel.cc ../pixelmap/PixelMap.cc ../drsdaq/SlowData.cc ../Evidence/Evidence.cc
|
---|
6 | OBJECTS = $(addsuffix .o, $(basename $(SOURCES)))
|
---|
7 | INCDIRS = -I. -I./src -I../Evidence/DIM/
|
---|
8 |
|
---|
9 | CPPFLAGS = -O3 -Wall -DOS_LINUX $(INCDIRS)
|
---|
10 | LDLIBS = -lstdc++ -lpthread -lfl -lreadline -ltermcap
|
---|
11 |
|
---|
12 | hvcontrol: $(OBJECTS) ../Evidence/DIM/libdim.a
|
---|
13 |
|
---|
14 | clean:
|
---|
15 | @rm -f $(OBJECTS)
|
---|
16 | @rm -f *.d
|
---|
17 | @rm -f *~
|
---|
18 |
|
---|
19 | -include Dep.d
|
---|
20 |
|
---|
21 | # Implicit rules
|
---|
22 |
|
---|
23 | %.d :
|
---|
24 | @echo "Generating dependencies" $@
|
---|
25 | @$(CC) -MM $(SOURCES) $(INCDIRS) \
|
---|
26 | | sed 's/^\(.*\).o:/$@ \1.o:/' > $@
|
---|
27 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.