Changeset 15179 for trunk/Mars/Makefile


Ignore:
Timestamp:
03/29/13 17:15:12 (11 years ago)
Author:
tbretz
Message:
Added nova-path to get nova wrapper compiled.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/Makefile

    r14927 r15179  
    8080          mmuon
    8181
     82LIBNOVA_PATH := `which libnovaconfig`
     83
     84ifeq ($(shell basename "$(LIBNOVA_PATH)X"), libnovaconfigX)
     85SUBDIRS += nova
     86endif
     87
    8288#LIBRARIES = $(SUBDIRS:%=lib/lib%.a)
    8389LIBRARIES := $(SUBDIRS:=.a)
     
    112118# ROOTGLIBS must be there - why? How can I link the libraries?
    113119$(SOLIB): $(LIBRARIES) $(OBJS) $(HEADERS)
    114         @echo " Linking shared object $(SOLIB) ..."
    115         $(CXX) $(CXXFLAGS) $(SOFLAG) $(OBJS) $(SUBDIRS:=/*.o) $(ROOTGLIBS) -o ${RNDMNAME}
     120        @echo " Linking shared object $@ ..."
     121        $(CXX) $(CXXFLAGS) $(SOFLAG) $(OBJS) $(SUBDIRS:=/*.o) $(ROOTGLIBS) $(LIBNOVA) -o ${RNDMNAME}
    116122        mv ${RNDMNAME} $@
    117123        chmod go+r $@
Note: See TracChangeset for help on using the changeset viewer.