source: hvcontrol/Makefile@ 133

Last change on this file since 133 was 126, checked in by ogrimm, 15 years ago
Implemented DIM servers
File size: 816 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/dim
8
9CPPFLAGS = -O3 -Wall -DOS_LINUX $(INCDIRS)
10LDLIBS = -lstdc++ -lpthread -lfl -lreadline -ltermcap
11
12hvcontrol: $(OBJECTS) ../../Evidence/DIM/linux/libdim.a
13# $(CC) $(CPPFLAGS) -o $@ $(OBJECTS) $(LIBS)
14
15clean:
16 @rm -f $(OBJECTS)
17 @rm -f *.d
18 @rm -f *~
19
20-include Dep.d
21
22# Implicit rules
23
24#%.o : %.cc
25# $(CC) $(CPPFLAGS) $(INCDIRS) -c -o $@ $<
26#%.o : %.cpp
27# $(CC) $(CPPFLAGS) $(INCDIRS) -c -o $@ $<
28%.d :
29 @echo "Generating dependencies" $@
30 @$(CC) -MM $(SOURCES) $(INCDIRS) \
31 | sed 's/^\(.*\).o:/$@ \1.o:/' > $@
32
Note: See TracBrowser for help on using the repository browser.