Skip to content

Commit

Permalink
[MkFit-standalone] Makefile fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
osschar committed Feb 23, 2023
1 parent 2f899a2 commit 209ebcd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions RecoTracker/MkFitCMS/standalone/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ SRCS := $(wildcard ${CMS_DIR}/src/*.cc) $(wildcard ${SACMS}/*.cc)
ifdef WITH_ROOT
SRCS += ${SACMS}/tkNtuple/WriteMemoryFile.cc
WriteMemFileDict.cc ${WMF_DICT_PCM}: ${SACMS}/tkNtuple/DictsLinkDef.h
rootcling -f WriteMemFileDict.cc $<
rootcling -I${SRCDIR} -f WriteMemFileDict.cc $<
mv WriteMemFileDict_rdict.pcm ${WMF_DICT_PCM}

SRCS += ShellDict.cc
ShellDict.cc ${SHELL_DICT_PCM}: ${SACMS}/Shell.h ${SACMS}/ShellLinkDef.h
rootcling -f ShellDict.cc ${SACMS}/Shell.h ${SACMS}/ShellLinkDef.h
rootcling -I${SRCDIR} -f ShellDict.cc ${SACMS}/Shell.h ${SACMS}/ShellLinkDef.h
mv ShellDict_rdict.pcm ${SHELL_DICT_PCM}
endif
SRCB := $(notdir ${SRCS})
Expand Down Expand Up @@ -61,7 +61,7 @@ ${LIB_CMS}: ${CMS_OBJS}
${MAIN}: ${LIB_CMS} mkFit.o
${CXX} ${CXXFLAGS} ${VEC_HOST} ${LDFLAGS} mkFit.o -o $@ ${LDFLAGS_HOST} -ltbb -L.. -lMicCore -lMicCMS -Wl,-rpath=.

${WRMEMF}: WriteMemoryFile.o DictsDict.o
${WRMEMF}: WriteMemoryFile.o WriteMemFileDict.o
${CXX} ${CXXFLAGS} ${LDFLAGS} $^ -o $@ ${LDFLAGS_HOST} -ltbb -L.. -lMicCore -Wl,-rpath=.

${OBJS}: %.o: %.cc %.d
Expand Down

0 comments on commit 209ebcd

Please sign in to comment.