]>
Commit | Line | Data |
---|---|---|
5c937f89 | 1 | include Makefile.arch |
9b37718a | 2 | |
9b37718a | 3 | |
5c937f89 | 4 | MAINO = testDecoder.$(ObjSuf) AliHLTAltroData.$(ObjSuf) AliHLTAltroBunch.$(ObjSuf) AliHLTDDLDecoder.$(ObjSuf) |
9b37718a | 5 | |
5c937f89 | 6 | MAINS = testDecoder.$(SrcSuf) AliHLTAltroData.$(SrcSuf) AliHLTAltroBunch.$(SrcSuf) AliHLTDDLDecoder.$(SrcSuf) |
9b37718a | 7 | |
5c937f89 | 8 | MAIN = testDecoder$(ExeSuf) |
9b37718a | 9 | |
9b37718a | 10 | |
5c937f89 | 11 | OBJS = $(MAINO) |
12 | PROGRAMS = $(MAIN) | |
9b37718a | 13 | |
9b37718a | 14 | |
5c937f89 | 15 | .SUFFIXES: .$(SrcSuf) .$(ObjSuf) .$(DllSuf) |
9b37718a | 16 | |
5c937f89 | 17 | all: $(PROGRAMS) |
18 | ||
19 | ||
20 | $(MAIN): $(MAINO) | |
21 | $(LD) $(LDFLAGS) $^ $(LIBS) $(GLIBS) -lTreePlayer -lMathCore -lThread -lpthread $(OutPutOpt)$(MAIN) | |
22 | @echo "$@ done" | |
9b37718a | 23 | |
9b37718a | 24 | |
25 | clean: | |
5c937f89 | 26 | @rm -f $(OBJS) core |
27 | ||
28 | distclean: clean | |
29 | -@mv -f linearIO.root linearIO.roott | |
30 | @rm -f $(PROGRAMS) $(EVENTSO) $(EVENTLIB) *Dict.* *.def *.exp \ | |
31 | *.root *.ps *.so *.lib *.dll *.d .def so_locations | |
32 | @rm -rf cxx_repository | |
33 | -@mv -f linearIO.roott linearIO.root | |
34 | -@cd RootShower && $(MAKE) distclean | |
35 | ||
36 | .SUFFIXES: .$(SrcSuf) | |
37 | ||
38 | AliHLTAltroData.$(ObjSuf): AliHLTAltroData.h | |
39 | AliHLTDDLDecoder.$(ObjSuf): AliHLTDDLDecoder.h | |
40 | testDecoder.$(ObjSuf): AliHLTAltroData.h AliHLTDDLDecoder.h | |
41 | ||
42 | .$(SrcSuf).$(ObjSuf): | |
43 | $(CXX) $(CXXFLAGS) -c $< |