Ignore:
Timestamp:
05/01/04 16:33:16 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Makefile

    r3806 r3927  
    6767          mtools
    6868
    69 #          monline \
    70 
    7169#LIBRARIES = $(SUBDIRS:%=lib/lib%.a)
    7270LIBRARIES = $(SUBDIRS:=.a)
     
    7674
    7775#------------------------------------------------------------------------------
    78 
    7976.SUFFIXES: .c .cc .h .o
    8077
    8178SRCFILES =
    8279
    83 SRCS    = $(SRCFILES)
    84 HEADERS = $(SRCFILES:.cc=.h)
    85 OBJS    = $(SRCFILES:.cc=.o) MCint.o
    86 
    8780############################################################
    88 all: rmlib $(SOLIB) $(PROGRAMS)
     81all: $(SOLIB) $(PROGRAMS)
    8982        @echo " Done. "
    9083        @echo " "
    9184
    9285static: LIBS=$(SUBDIRS:=/*.o) $(OBJS)
    93 static: rmlib $(LIBRARIES) $(PROGRAMS)
     86#static: rmlib $(LIBRARIES) $(PROGRAMS)
     87static: $(LIBRARIES) $(PROGRAMS)
    9488        @echo " Done. "
    9589        @echo " "
     
    10498        @echo " Linking $(SOLIB) ..."
    10599        $(CXX) $(CXXFLAGS) $(DYNLIB) $(OBJS) $(SUBDIRS:=/*.o) $(ROOTGLIBS) -o $@
    106 #       $(CXX) $(CXXFLAGS) $(DYNLIB) $(OBJS) -Wl,--export-dynamic -Llib $(LIBRARIES:%.a=-l%) -o $@
    107100
    108 $(PROGRAMS): $(LIBS) $(PROGRAMS:=.o)
     101$(PROGRAMS): $(SOLIB) $(PROGRAMS:=.o)
    109102        @echo " Linking $@ ..."
    110         $(CXX) $(CXXFLAGS) $(ROOTGLIBS) $(LIBS) $@.o $(MARS_LIB) -o $@
    111 
    112 # FOR CONVINIENCE CREATE Dep-file first!
    113 $(LIBRARIES):
    114         @echo " Creating lib$@:"
    115         (cd $*; $(MAKE) -f Makefile; cd ..; mv $*/$@ lib/lib$@)
    116 
    117 $(MRPROPERS):
    118         @echo " Doing Mr.Proper in $(@:.mrproper=)"
    119         (cd $(@:.mrproper=); ($(MAKE) -f Makefile mrproper > /dev/null); cd ..;)
    120 
    121 $(CLEANERS):
    122         @echo "Cleaning $(@:.clean=):"
    123         (cd $(@:.clean=); $(MAKE) -f Makefile clean; cd ..;)
     103        $(CXX) $(CXXFLAGS) $(ROOTGLIBS) $(SOLIB) $@.o $(MARS_LIB) -o $@
    124104
    125105dox: $(SOLIB)
Note: See TracChangeset for help on using the changeset viewer.