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

Last change on this file since 13788 was 13662, checked in by Jens Buss, 13 years ago
add pulsetemplate program
File size: 1.4 KB
Line 
1CXXFLAGS = -I`root-config --incdir` `root-config --glibs` -Wall -g
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
8
9OBJ2 = openFits.o discriminator.o zerosearch.o factfir.o \
10 DrsCalibration.o SpikeRemoval.o rootfilehandler.o pixel.o \
11 pixelsum.o templateextractors.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
44 $(CC) $(CXXFLAGS) -c $< -o $@
45
46pixelsum.o : pixelsum.C pixelsum.h
47 $(CC) $(CXXFLAGS) -c $< -o $@
48
49templateextractors.o : templateextractors.C templateextractors.h
50 $(CC) $(CXXFLAGS) -c $< -o $@
51
52all: $(BINNAME)
53
54clean:
55 $(RM) *.o
Note: See TracBrowser for help on using the repository browser.