Fork me on GitHub

Changeset 432 in svn for trunk/Makefile


Ignore:
Timestamp:
Jun 17, 2009, 10:04:02 PM (15 years ago)
Author:
Xavier Rouby
Message:

-Dlinux/-Dmacos/-Dwindows automatically set in Makefile

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Makefile

    r353 r432  
    1414endif
    1515
     16
     17ifneq (,$(findstring macos,$(ARCH)))
     18CXXFLAGS += -Dmacos
     19else
     20ifneq (,$(findstring win,$(ARCH)))
     21CXXFLAGS += -Dwindows
     22else
     23CXXFLAGS += -Dlinux
     24endif
     25endif
     26
     27
    1628SrcSuf = cc
    1729
     
    2032LIBS = $(ROOTLIBS) -lEG $(SYSLIBS)
    2133GLIBS = $(ROOTGLIBS) $(SYSLIBS)
    22        
     34
    2335###
    2436
     
    113125tmp/src/SmearUtil.$(ObjSuf): \
    114126        src/SmearUtil.$(SrcSuf)
     127tmp/src/PdgParticle.$(ObjSuf): \
     128        src/PdgParticle.$(SrcSuf)
    115129tmp/src/TriggerUtil.$(ObjSuf): \
    116130        src/TriggerUtil.$(SrcSuf)
     
    338352        tmp/src/CaloUtil.$(ObjSuf) \
    339353        tmp/src/SmearUtil.$(ObjSuf) \
     354        tmp/src/PdgParticle.$(ObjSuf) \
    340355        tmp/src/TriggerUtil.$(ObjSuf) \
    341356        tmp/src/BFieldProp.$(ObjSuf) \
Note: See TracChangeset for help on using the changeset viewer.