Ignore:
Timestamp:
01/11/01 12:54:21 (24 years ago)
Author:
harald
Message:
The first implementation of a gui to test the data of Octobertest
was implemented. Therefore the two subdirs mgui and mdatacheck
were introduced. The program for the gui is called -> mars <-.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Makefile

    r454 r463  
    2222# @code
    2323
    24 PROGRAM1 = merpp
    25 PROGRAM2 = readraw
     24PROGRAMS = merpp readraw mars
    2625SOLIB    = mars.so
    2726
     
    2928#  connect the include files defined in the config.mk file
    3029#
    31 INCLUDES = -I. -Imbase -Imraw
     30#    WARNING: the result (whether the linkage works or not) depends on the
     31#             order of the libraries
     32#
     33#
     34INCLUDES = -I. -Imgui -Imbase -Imraw -Imdatacheck
    3235
    3336#
     
    3538#
    3639
    37 MARS_LIB = -Llib -lmbase  -lmraw
    38 MARS_LIBB = libmbase.a libmraw.a
     40MARS_LIB = -Llib -lmgui -lmdatacheck -lmraw -lmbase
     41MARS_LIBB = libmbase.a libmgui.a libmraw.a libmdatacheck.a
    3942
    4043
    4144#------------------------------------------------------------------------------
    4245
    43 #.SILENT:
    44 
    45 .SUFFIXES: .c .cc .cxx .h .hxx .o
     46.SUFFIXES: .c .cc .h .o
    4647
    4748
     
    5152HEADERS = $(SRCFILES:.cc=.h)
    5253OBJS    = $(SRCFILES:.cc=.o)
    53 OBJS1   = merpp.o
    54 OBJS2   = readraw.o
    5554
    5655############################################################
    5756
    58 all: rmlib $(PROGRAM1) $(PROGRAM2) $(SOLIB)
     57all: rmlib $(PROGRAMS) $(SOLIB)
    5958
    60 $(PROGRAM1): $(MARS_LIBB) $(OBJS1) $(OBJS) MCint.o
    61         @echo " Linking $(PROGRAM1) ..."
    62         $(CXX) $(CXXFLAGS) $(OBJS1) $(OBJS) $(MARS_LIB) MCint.o $(ROOTLIBS) $(ROOTGLIBS) -o $@
    63  
    64 $(PROGRAM2): $(MARS_LIBB) $(OBJS2) $(OBJS) MCint.o
    65         @echo " Linking $(PROGRAM2) ..."
    66         $(CXX) $(CXXFLAGS) $(OBJS2) $(OBJS) $(MARS_LIB) MCint.o $(ROOTLIBS) $(ROOTGLIBS) -o $@
    67        
     59# Use $(CXX) -v ... for a more verbose output
     60$(PROGRAMS): $(MARS_LIBB) $(PROGRAMS:=.o) $(OBJS) MCint.o
     61        @echo " Linking $@ ..."
     62        $(CXX) $(CXXFLAGS) $@.o $(OBJS) $(MARS_LIB) MCint.o $(ROOTGLIBS) -o $@
     63
    6864$(SOLIB): $(MARS_LIBB) $(OBJS) MCint.o
    6965        @echo " Linking $(SOLIB) ..."
     
    7975        (cd mraw; make; cd ..; mv mraw/libmraw.a lib)
    8076
    81 libmocttest.a:
    82         @echo " Creating libmocttest.a:"
    83         (cd mocttest; make; cd .., mv mocttest/libmocttest.a lib)
     77libmgui.a:
     78        @echo " Creating libmgui.a:"
     79        (cd mgui; make; cd ..; mv mgui/libmgui.a lib)
     80
     81libmdatacheck.a:
     82        @echo " Creating libmdatacheck.a:"
     83        (cd mdatacheck; make; cd ..; mv mdatacheck/libmdatacheck.a lib)
    8484       
    8585dox:
Note: See TracChangeset for help on using the changeset viewer.