New topdir Makefile for compiling all libraries in the HLT tree.
authorvestbo <vestbo@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 2 Jul 2002 09:00:15 +0000 (09:00 +0000)
committervestbo <vestbo@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 2 Jul 2002 09:00:15 +0000 (09:00 +0000)
Also, a Makefile.conf is added in order to define all the common
defininitions, flags etc.

HLT/Makefile [new file with mode: 0644]
HLT/Makefile.conf [new file with mode: 0644]

diff --git a/HLT/Makefile b/HLT/Makefile
new file mode 100644 (file)
index 0000000..cb2ce35
--- /dev/null
@@ -0,0 +1,14 @@
+#$Id$
+###########################
+# Makefile for HLT code.  #
+#                         #
+# Author: Anders Vestbo   #                    
+###########################
+
+MAKEDIRS = src hough comp programs misc
+
+all:
+       for i in $(MAKEDIRS) ; do cd $$i && make ; cd .. ; done
+
+clean:
+       for i in $(MAKEDIRS) ; do cd $$i && make clean ; cd .. ; done
\ No newline at end of file
diff --git a/HLT/Makefile.conf b/HLT/Makefile.conf
new file mode 100644 (file)
index 0000000..4183189
--- /dev/null
@@ -0,0 +1,36 @@
+#$Id$
+###########################
+# Makefile for HLT code.  #
+#                         #
+# Author: Anders Vestbo   #                    
+###########################
+
+#Define whether you want to run with ALIROOT or only ROOT
+#Only one of them should be defined
+ifndef USEPACKAGE
+#USEPACKAGE = ROOT
+USEPACKAGE = ALIROOT
+#USEPACKAGE = NOROOT
+endif
+
+#Specify the directory where the level3code tree is located.
+ifndef TOPDIR
+TOPDIR = $(HOME)/workcode/level3code
+endif
+ifndef LIBDIR
+LIBDIR = $(LEVEL3)/lib_$(USERNAME)
+endif
+OBJDIR = lib
+
+#Switch on/off HLT logging classes
+#NOLOGGING = 1
+
+#Switch on/off saving MC data through the chain.
+#This will only have an effect if you are running with aliroot.
+#DO_MC = 1
+
+CXX         = g++
+LD          = g++
+CXXFLAGS    = -O2 -Wall -fPIC -Woverloaded-virtual
+LDFLAGS     = -O2
+SOFLAGS     = -shared
\ No newline at end of file