Commit 104dfa6a authored by Vratislav Chudoba's avatar Vratislav Chudoba

makefile and htmldoc.cxx modified.

parent 5016cc63
......@@ -2,7 +2,7 @@
// gROOT->GetPluginManager()->AddHandler("TVirtualStreamerInfo","*", "TStreamerInfo", "RIO", "TStreamerInfo()");
gSystem->Load("./libAculData.so");
// gSystem->Load("~/work/makefilesBe/libTELoss.so");
gSystem->Load("./libTELoss.so");
// gSystem->Load("~/work/makefilesBe/libDetectors.so");
// gSystem->Load("~/work/makefilesBe/libDetectors.so");
// gSystem->Load("~/work/makefilesBe/libBe.so");
......
......@@ -26,11 +26,13 @@ PWD = $(shell pwd)
#INSTALLFOLDER = $(HOME)/AculLib
ACULDATA = $(PWD)/AculData
TELOSS = $(PWD)/TELoss
-include $(ACULDATA)/AculData.mk
-include $(TELOSS)/TELoss.mk
all: libAculData.so \
libTELoss.so
#ROOT html documentation, it will be done as a program which will be alsa compiled by this makefile, program will be as a last condition after all of the libraries
htmldoc: libAculData.so
......@@ -41,6 +43,9 @@ clean:
-$(RM) $(ACULDATAOBJS) $(ACULDATACPP_DEPS)
-$(RM) $(ACULDATA)/AculDataCint.* libAculData.so
-@echo ' '
-$(RM) $(TELOSSOBJS) $(TELOSSCPP_DEPS)
-$(RM) $(TELOSS)/TELossCint.* libTELoss.so
-@echo ' '
-$(RM) htmldoc
-@echo ' '
......@@ -50,6 +55,11 @@ $(ACULDATA)/AculDataCint.cpp:
-rootcint -f $(ACULDATA)/AculDataCint.cpp -c -p $(ACULDATA_HEADERS)
-@echo ' '
$(TELOSS)/TELossCint.cpp:
-@echo 'Pre-building TELossCint.cpp and TELossCint.h files'
-rootcint -f $(TELOSS)/TELossCint.cpp -c -p $(TELOSS)/TELoss.h $(TELOSS)/linkdef.h
-@echo ' '
#*.so files
libAculData.so: $(ACULDATAOBJS)
@echo 'Building target: $@'
......@@ -58,6 +68,12 @@ libAculData.so: $(ACULDATAOBJS)
@echo 'Finished building target: $@'
@echo ' '
libTELoss.so: $(TELOSSOBJS)
@echo 'Building target: $@'
@echo 'Invoking: GCC C++ Linker'
$(CC) -L . -L $(ROOTLIBS) -shared -o"libTELoss.so" $(TELOSSOBJS) $(TELOSSLIBS)
@echo 'Finished building target: $@'
@echo ' '
.PHONY: all clean
#.SECONDARY: AculData_pre-build TELoss_pre-build Detectors_pre-build libAculData.so libTELoss.so libDetectors.so
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment