source: hvcontrol/Makefile@ 1126

Last change on this file since 1126 was 161, checked in by ogrimm, 15 years ago
Removed local configuration, now dependent on Evidence configuration server
File size: 604 bytes
Line 
1#
2# Makefile hvcontrol
3#
4
5SOURCES = hvcontrol.cpp src/HV.cc src/HVCalib.cc src/ProcessIO.cc ../pixelmap/Pixel.cc ../pixelmap/PixelMap.cc ../Evidence/Evidence.cc
6OBJECTS = $(addsuffix .o, $(basename $(SOURCES)))
7INCDIRS = -I. -I../Evidence -I./src -I$(DIMDIR)/dim
8
9CPPFLAGS = -O3 -Wall $(INCDIRS)
10LDLIBS = -lstdc++ -lpthread -lfl -lreadline -ltermcap $(DIMDIR)/linux/libdim.a
11
12hvcontrol: $(OBJECTS)
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.