Fork me on GitHub

Changeset 432 in svn


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

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

Location:
trunk
Files:
2 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) \
  • trunk/genMakefile.tcl

    r427 r432  
    218218ifneq (,$(findstring macos,$(ARCH)))
    219219CXXFLAGS += -Dmacos
    220 else ifneq (,$(findstring win,$(ARCH)))
     220else
     221ifneq (,$(findstring win,$(ARCH)))
    221222CXXFLAGS += -Dwindows
    222223else
    223224CXXFLAGS += -Dlinux
     225endif
    224226endif
    225227
Note: See TracChangeset for help on using the changeset viewer.