]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Makefile for the ANALYSIS_NEW.par (Panos)
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 28 Nov 2006 08:55:24 +0000 (08:55 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 28 Nov 2006 08:55:24 +0000 (08:55 +0000)
ANALYSIS/Makefile [new file with mode: 0644]

diff --git a/ANALYSIS/Makefile b/ANALYSIS/Makefile
new file mode 100644 (file)
index 0000000..b4479f1
--- /dev/null
@@ -0,0 +1,29 @@
+PACKAGE = ANALYSIS_NEW
+
+include Makefile.arch
+include lib$(PACKAGE).pkg
+
+SRCS         += G__$(PACKAGE).cxx
+OBJS          = $(SRCS:.cxx=.o)
+
+lib$(PACKAGE).so: $(OBJS)
+       @echo "Linking" $@ ...
+       @/bin/rm -f $@
+ifeq ($(PLATFORM),macosx)
+       @$(LD) -bundle -undefined $(UNDEFOPT) $(LDFLAGS) $^ -o $@
+else
+       @$(LD) $(SOFLAGS) $(LDFLAGS) $^ -o $@
+endif
+       @chmod a+x $@
+       @echo "done"
+
+%.o:    %.cxx %.h
+       $(CXX) $(CXXFLAGS) -c $< -o $@
+
+clean:
+       @rm -f $(OBJS) *.so G__$(PACKAGE).*
+
+G__$(PACKAGE).cxx G__$(PACKAGE).h: $(HDRS) $(DHDR)
+       @echo "Generating dictionary ..."
+       rootcint -f $@ -c $(ALICEINC) $^
+