source: fact/tools/rootmacros/PulseTemplates/Makefile@ 17048

Last change on this file since 17048 was 13859, checked in by Jens Buss, 12 years ago
add configfile class
File size: 1.6 KB
Line 
1CXXFLAGS = -I`root-config --incdir` `root-config --glibs` -Wall -g -O3
2CC = g++
3RM = rm
4
5OBJ = openFits.o discriminator.o zerosearch.o factfir.o \
6 DrsCalibration.o SpikeRemoval.o rootfilehandler.o pixel.o \
7 pixelsum.o templateextractors.o configfile.o
8
9OBJ2 = openFits.o discriminator.o zerosearch.o factfir.o \
10 DrsCalibration.o SpikeRemoval.o rootfilehandler.o pixel.o \
11 pixelsum.o templateextractors.o configfile.o
12
13BINNAME = pulseoverlay
14BINNAME2 = pulsetemplate
15
16$(BINNAME): $(OBJ) FPulseOverlay.C
17 $(CC) $(CXXFLAGS) FPulseOverlay.C $(OBJ) -o $@
18
19$(BINNAME2): $(OBJ2) FCalcPulseTemplate.C
20 $(CC) $(CXXFLAGS) FCalcPulseTemplate.C $(OBJ2) -o $@
21
22openFits.o : ../openFits.c ../openFits.h ../fits.h ../izstream.h
23 $(CC) $(CXXFLAGS) -c $< -o $@
24
25discriminator.o : ../discriminator.C ../discriminator.h
26 $(CC) $(CXXFLAGS) -c $< -o $@
27
28zerosearch.o : ../zerosearch.C ../zerosearch.h
29 $(CC) $(CXXFLAGS) -c $< -o $@
30
31factfir.o : ../factfir.C ../factfir.h
32 $(CC) $(CXXFLAGS) -c $< -o $@
33
34DrsCalibration.o : ../DrsCalibration.C ../DrsCalibration.h
35 $(CC) $(CXXFLAGS) -c $< -o $@
36
37SpikeRemoval.o : ../SpikeRemoval.C ../SpikeRemoval.h
38 $(CC) $(CXXFLAGS) -c $< -o $@
39
40rootfilehandler.o : rootfilehandler.C rootfilehandler.h
41 $(CC) $(CXXFLAGS) -c $< -o $@
42
43pixel.o : pixel.C pixel.h rootfilehandler.h
44 $(CC) $(CXXFLAGS) -c $< -o $@
45
46pixelsum.o : pixelsum.C pixelsum.h pixel.h
47 $(CC) $(CXXFLAGS) -c $< -o $@
48
49templateextractors.o : templateextractors.C templateextractors.h
50 $(CC) $(CXXFLAGS) -c $< -o $@
51
52configfile.o : configfile.C configfile.h
53 $(CC) $(CXXFLAGS) -c $< -o $@
54
55all: $(BINNAME)
56
57clean:
58 $(RM) *.o
Note: See TracBrowser for help on using the repository browser.