source: hvcontrol/Makefile@ 135

Last change on this file since 135 was 135, checked in by ogrimm, 15 years ago
Updated makefile
File size: 642 bytes
Line 
1#
2# Makefile hvcontrol
3#
4
5SOURCES = 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
6OBJECTS = $(addsuffix .o, $(basename $(SOURCES)))
7INCDIRS = -I. -I./src -I../Evidence/DIM/
8
9CPPFLAGS = -O3 -Wall -DOS_LINUX $(INCDIRS)
10LDLIBS = -lstdc++ -lpthread -lfl -lreadline -ltermcap
11
12hvcontrol: $(OBJECTS) ../Evidence/DIM/libdim.a
13
14clean:
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.