-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
25 lines (18 loc) · 761 Bytes
/
Makefile
File metadata and controls
25 lines (18 loc) · 761 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
-include $(ANALYZERPATH)/Makefile.common
ANALYSYSNAME := StudyGroup
.PHONY: all dict scram
all: scram
dict: $(ANALYSYSNAME)Classes
scram: dict
@cd $(LEAFPATH)/$(ANALYSYSNAME)
@echo "--> Calling 'scram b' in $(ANALYZERPATH)/$(ANALYSYSNAME) with MAKEFLAGS=\"$(MAKEFLAGS)\""
+@scram b
$(ANALYSYSNAME)Classes:
@echo "--> Creating shared library with $@ custom class dictionaries."
@rootcling -f $(LIBDIR_CMSSW)/$@_dict.cxx -c -p -I${LEAFPATH} $(INCLUDES) include/$@_Linkdef.hpp
@$(CC) $(CFLAGSDICT) $(LFLAGS) -shared -o $(LIBDIR_CMSSW)/lib$@.so $(ROOTLIBS) $(CMSSWLIBS) $(LIBDIR_CMSSW)/$@_dict.cxx
clean:
@echo "--> cleaning folders $(OBJDIR)/, $(LIBDIR)/"
@rm -f $(wildcard $(OBJDIR)/*.o) $(LIBOBJS)
@cd $(LEAFPATH)/$(ANALYSYSNAME)
@scram b clean