Changeset 466 for trunk/MagicSoft/Mars


Ignore:
Timestamp:
01/12/01 14:48:35 (24 years ago)
Author:
tbretz
Message:
see Changelog
Location:
trunk/MagicSoft/Mars
Files:
4 added
1 deleted
19 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r463 r466  
    11                                                               -*-*- END -*-*-
     2 2000/01/12: Thomas Bretz
     3 
     4 * MLinkDef.h, MIncl.h, marslogo.xpm, magiclogo.xpm:
     5    - added
     6 * LinkDef.h:
     7    - removed
     8   
     9 * Makefile:
     10    - Added CINT, mrproper
     11 
     12 * mbase/Makefile, mraw/Makefile, mgui/Makefile, mdatacheck/Makefile:
     13    - included makefile.general, Makefile.rules,
     14    - removes corresponding lines
     15 
     16 * mdatacheck/MDumpEvtHeader.[h,cc], mdatacheck/MFillAdcSpect.[cc,h],
     17   mdatacheck/MFillAdcSpect.[h,cc], mdatacheck/MGDisplayAdc.[cc,h],
     18   mdatacheck/MHistsosAdc.[h,cc], mdatacheck.MShowSpect.[cc,h]
     19    - changed include statements
     20 
     21 * mgui/MGDataCheckMain.[cc,h], mgui/MGMarsMain.[cc,h]
     22    - changed include statements
     23    - move enum from h to cc
     24    - removed comma operator from delete statements (nonsense)
     25
     26
    227 2001/01/11: Harald Kornmayer
    328
    429 * ./:
    5    readraw.c, Makefile, Makefile.rules, LinkDef.h, MParList.cc, MReadTree.cc,
     30   readraw.cc, Makefile, Makefile.rules, LinkDef.h, MParList.cc, MReadTree.cc,
    631   MReadTree.h, mbase/Makefile, mraw/Makefile     
    7    - small changes in this files. Not really critical.
     32    - small changes in this files. Not really critical.
    833
    934   mars.cc
    10    - added the main file for the gui
     35    - added the main file for the gui
    1136
    1237   mgui/
    1338   GuiIncl.h, MGMarsMain.cc, GuiLinkDef.h, MGMarsMain.h, MGDataCheckMain.cc,
    1439   Makefile, MGDataCheckMain.h
    15    - added the subdir mgui and this files
     40    - added the subdir mgui and this files
    1641
    1742   mdatacheck/
     
    2045   MFillAdcSpect.cc, MFillAdcSpect.h, MViewAdcSpectra.cc, MViewAdcSpectra.h,
    2146   MGDisplayAdc.cc, MGDisplayAdc.h, Makefile
    22    - added the subdir mdatacheck and this files
     47    - added the subdir mdatacheck and this files
     48
    2349       
    2450 2000/12/28: Thomas Bretz
     
    3258 * MLoopEvt.cc, MLoopEvt.h:
    3359    - Removed
     60
    3461
    3562 2000/12/22 - Thomas Bretz:
  • trunk/MagicSoft/Mars/Makefile

    r463 r466  
    2424PROGRAMS = merpp readraw mars
    2525SOLIB    = mars.so
     26CINT     = M
    2627
    2728#
     
    5859
    5960# Use $(CXX) -v ... for a more verbose output
    60 $(PROGRAMS): $(MARS_LIBB) $(PROGRAMS:=.o) $(OBJS) MCint.o 
     61$(PROGRAMS): $(MARS_LIBB) $(PROGRAMS:=.o) $(OBJS) MCint.o
    6162        @echo " Linking $@ ..."
    6263        $(CXX) $(CXXFLAGS) $@.o $(OBJS) $(MARS_LIB) MCint.o $(ROOTGLIBS) -o $@
     
    8889
    8990
    90 MCint.cc:       $(HEADERS)
    91                 @echo "Generating dictionary MCint.cc..."
    92                 @$(ROOTSYS)/bin/rootcint -f MCint.cc \
    93                 -c $(INCLUDES) $(HEADERS) LinkDef.h
    94 
    9591include Makefile.rules
    9692
    9793clean:  rmlib rmcint rmobjs rmcore rmbin
    9894
    99 # @endcode
     95mrproper:       clean rmbak
     96        @rm -f macros/*~
     97        @rm -rf htmldoc
     98        @echo "cd mbase"
     99        @cd mbase; make mrproper; cd ..
     100        @echo "cd .."
     101        @echo "cd mraw"
     102        @cd mraw; make mrproper; cd ..
     103        @echo "cd .."
     104        @echo "cd mgui"
     105        @cd mgui; make mrproper; cd ..
     106        @echo "cd .."
     107        @echo "cd mdatacheck"
     108        @cd mdatacheck; make mrproper; cd ..
     109        @echo "cd .."
    100110
    101111
    102 
    103 # DO NOT DELETE
    104 
    105 
     112# @endcode
  • trunk/MagicSoft/Mars/NEWS

    r465 r466  
    11                                                               -*-*- END -*-*-
    2  2001/01/11: 
     2 2001/01/11:
    33 
    44    * First Implementation of a Gui to read the raw data. Start the
    55      gui with the command mars.
    66
    7 
    87 
    9  xxxx/yy/zz:
     8 2000/12/28:
    109 
    1110    * First official release 0.1
  • trunk/MagicSoft/Mars/mbase/Makefile

    r463 r466  
    1515#
    1616#
    17 INCLUDEMK = ../Makefile.conf.$(OSTYPE)
    18 include $(INCLUDEMK)
     17include ../Makefile.conf.$(OSTYPE)
     18include ../Makefile.conf.general
    1919
    2020# @endcode
    2121
     22INCLUDES = -I.
     23
    2224# @code
    2325
    24 LIB   = libmbase.a
    25 
    26 #
    27 #  connect the include files defined in the config.mk file
    28 #
    29 INCLUDES = -I./
    30 
    31 #
    32 #  ----->>>   root libraries
    33 #
    34 
    35 ROOTLIBS   =  `root-config --libs`
    36 ROOTGLIBS  =  `root-config --glibs`
    37 ROOTCFLAGS =  `root-config --cflags`
    38 
    39 #
    40 #  compiler flags
    41 #
    42 
    43 CXXFLAGS  = $(ROOTCFLAGS) $(INCLUDES) $(OPTIM) $(DEBUG)
    44 CFLAGS    = $(CXXFLAGS)
    45 FFLAGS    = $(CXXFLAGS)
     26CINT     = Base
     27LIB      = libmbase.a
    4628
    4729#------------------------------------------------------------------------------
    4830
    49 #.SILENT:
    50 
    5131.SUFFIXES: .c .cc .cxx .h .hxx .o
    52 
    5332
    5433SRCFILES = MTask.cc \
     
    7251all: $(LIB)
    7352
    74 depend:
    75         @makedepend $(SRCS) $(INCLUDES) $(ROOTCFLAGS) \
    76         -fMakefile.depend 2> kk.kk ; cat kk.kk
     53include ../Makefile.rules
    7754
    78 $(LIB): $(OBJS) BaseCint.o
    79         @echo " - Building Library $(LIB) ... "
    80         $(AR) $(LIB) *.o
     55clean:  rmlib rmcint rmobjs rmcore
    8156
    82 BaseCint.cc: $(HEADERS)
    83         @echo
    84         @echo " - Generating dictionary BaseCint.cc ..."
    85 
    86         $(ROOTSYS)/bin/rootcint -f BaseCint.cc \
    87         -c $(INCLUDES) $(HEADERS) BaseIncl.h BaseLinkDef.h
    88 
    89 .cxx.o:
    90         @echo " - Compiling " $<
    91         $(CXX) $(CXXFLAGS) -c $< -o $@
    92 
    93 .cc.o: 
    94         @echo " - Compiling " $<
    95         $(CXX) $(CXXFLAGS) -c $< -o $@
    96 
    97 .c.o:   
    98         @echo " - Compiling " $<
    99         $(CC) $(CFLAGS) -c $< -o $@
    100 
    101 #
    102 # The cleaning facility
    103 #
    104 
    105 rmlib: 
    106         @echo "Removing libraries..."
    107         @rm -f lib*.a
    108 
    109 rmcint:
    110         @echo "Removing cint-stuff..."
    111         @rm -f BaseCint.*
    112 
    113 rmobjs:
    114         @echo "Removing object files..."
    115         @rm -f *.o
    116 
    117 rmbin: 
    118         @echo "Removing binary files..."
    119         @rm -f core
    120 
    121 
    122 clean:  rmlib rmcint rmobjs rmbin
    123 
    124 mrproper:       clean
    125         @echo "Removing *~ kk.kk html/..."
    126         @rm -f *~ kk.kk
    127 
    128 cflags:
    129         @echo $(INCLUDES) $(CXXFLAGS)
     57mrproper:       clean rmbak
    13058
    13159# @endcode
  • trunk/MagicSoft/Mars/mdatacheck/MDumpEvtHeader.cc

    r462 r466  
    11#include "MDumpEvtHeader.h"
     2
     3#include "MParList.h"
     4#include "MRawEvtHeader.h"
     5#include "MRawEvtPixelIter.h"
    26
    37//ClassImp(MDumpEvtHeader)
  • trunk/MagicSoft/Mars/mdatacheck/MDumpEvtHeader.h

    r462 r466  
    11#ifndef MDUMPEVTHEADER_H
    22#define MDUMPEVTHEADER_H
     3
     4#ifndef MAGIC_h
     5#include "MAGIC.h"
     6#endif
    37
    48#ifndef MTASK_H
     
    610#endif
    711
    8 #include "MParList.h"
    9 #include <TSystem.h>
    10 
    11 #include "MRawEvtHeader.h"
    12 #include "MRawEvtData.h"
    13 #include "MRawEvtPixelIter.h"
     12class MRawEvtHeader;
     13class MRawEvtData;
     14class MRawEvtPixelIter;
     15class MParList;
    1416
    1517class MDumpEvtHeader : public MTask {
  • trunk/MagicSoft/Mars/mdatacheck/MFillAdcSpect.cc

    r462 r466  
    11#include "MFillAdcSpect.h"
     2
     3#include <iostream.h>
     4
     5#include "MParList.h"
     6#include "MHistosAdc.h"
     7#include "MRawEvtData.h"
     8#include "MRawEvtPixelIter.h"
    29
    310//ClassImp(MFillAdcSpect)
     
    714  *fName  = name  ? name  : "MFillAdcSpect";
    815  *fTitle = title ? title : "Task to fill the adc spectra with  raw data";
    9 
    10 
    1116 
    1217  fRawEvtData   = NULL ;
  • trunk/MagicSoft/Mars/mdatacheck/MFillAdcSpect.h

    r462 r466  
    11#ifndef MFILLADCSPECT_H
    22#define MFILLADCSPECT_H
     3
     4#ifndef MAGIC_H
     5#include "MAGIC.h"
     6#endif
    37
    48#ifndef MTASK_H
     
    610#endif
    711
    8 #include "MParList.h"
    9 #include <TSystem.h>
    10 
    11 #include "MRawEvtHeader.h"
    12 #include "MRawEvtData.h"
    13 #include "MRawEvtPixelIter.h"
    14 #include "MHistosAdc.h"
     12class MParList;
     13class MHistosAdc;
     14class MRawEvtData;
     15class MRawEvtPixelIter;
    1516
    1617class MFillAdcSpect : public MTask {
  • trunk/MagicSoft/Mars/mdatacheck/MGDisplayAdc.cc

    r462 r466  
    1 
    21#include "MGDisplayAdc.h"
     2
     3#include <TGListBox.h>           // TGListBox
     4#include <TGButton.h>            // TGTextButton
     5#include <TGSlider.h>            // TGVSlider
     6#include <TCanvas.h>             // TCanvas.h
     7#include <TGMsgBox.h>            // TGMsgBox
     8#include <TRootEmbeddedCanvas.h> // TRootEmbeddedCanvas
     9
     10#include "MHistosAdc.h"
     11
     12enum ComIdentDisplayAdc {
     13        M_BUTTON_SAVE,
     14                M_BUTTON_PRINT,
     15                M_BUTTON_PRINTALL,
     16                M_BUTTON_CLOSE ,
     17               
     18                M_BUTTON_PREV,
     19                M_BUTTON_NEXT,
     20
     21                M_LIST_HISTO,
     22                M_RADIO_HIGH,
     23                M_RADIO_LOW,
     24                M_RADIO_LH,
     25                M_BUTTON_RESET,
     26                M_VSId1
     27} ;
    328
    429MGDisplayAdc::MGDisplayAdc ( MHistosAdc *Histos,
     
    236261        //
    237262        Int_t   buttons = 4, retval = 0 ;
    238         Char_t  wort[100] ;
    239         Char_t  extens[5] ;
    240         Char_t  command[110] ;
    241        
    242         TGFileItem *item ;     // to process items in the file view container
    243         void *np = NULL ;      // null pointer
     263        //Char_t  wort[100] ;
     264        //Char_t  extens[5] ;
     265        //Char_t  command[110] ;
     266       
     267        //TGFileItem *item ;     // to process items in the file view container
     268        //void *np = NULL ;      // null pointer
    244269       
    245270        switch (GET_MSG(msg))
  • trunk/MagicSoft/Mars/mdatacheck/MGDisplayAdc.h

    r462 r466  
    22#define MGDISPLAYADC_H
    33
    4 #include <iostream.h>
    5 #include <TROOT.h>
    6 #include <TApplication.h>
    7 #include <TSystem.h>
    8 #include <TGClient.h>
    9 #include <TGButton.h>
    10 #include <TGMenu.h>
    11 #include <TGTab.h>
    12 #include <TGListBox.h>
    13 #include <TGPicture.h>
    14 #include <TRootEmbeddedCanvas.h>
    15 #include <TCanvas.h>
    16 #include <TGFSContainer.h>
    17 #include <TGMsgBox.h>
    18 #include <TVirtualX.h>
    19 #include <TGFrame.h>
    20 #include <TGTextEntry.h>
    21 #include <TGSlider.h>
    22 #include <TGDoubleSlider.h>
    23 #include <TGScrollBar.h>
    24 #include <TSlider.h>
     4#ifndef ROOT_TFrame
     5#include <TGFrame.h> // TGTransientFrame
     6#endif
    257
    26 
    27 #include <TVirtualX.h>
    28 #include <TGClient.h>   
    29    
    30 #include "MHistosAdc.h"
    31        
    32     class MHistosAdc;
    33 
    34 
    35 
    36 enum ComIdentDisplayAdc {
    37         M_BUTTON_SAVE,
    38                 M_BUTTON_PRINT,
    39                 M_BUTTON_PRINTALL,
    40                 M_BUTTON_CLOSE ,
    41                
    42                 M_BUTTON_PREV,
    43                 M_BUTTON_NEXT,
    44 
    45                 M_LIST_HISTO,
    46                 M_RADIO_HIGH,
    47                 M_RADIO_LOW,
    48                 M_RADIO_LH,
    49                 M_BUTTON_RESET,
    50                 M_VSId1
    51 } ;
     8class MHistosAdc;
     9class TGListBox;
     10class TGTextButton;
     11class TRootEmbeddedCanvas;
     12class TCanvas;
     13class TGVSlider;
     14class TGRadioButton;
    5215
    5316class MGDisplayAdc : public TGTransientFrame {
  • trunk/MagicSoft/Mars/mdatacheck/MHistosAdc.h

    r462 r466  
    22#define MHISTOSADC_H
    33
     4#ifndef MAGIC_H
    45#include "MAGIC.h"
     6#endif
    57
     8#ifndef ROOT_TObjArray
    69#include <TObjArray.h>
     10#endif
    711
     12#ifndef MPARCONTAINER_H
    813#include "MParContainer.h"
     14#endif
    915
    1016class MHistosAdc : public MParContainer
  • trunk/MagicSoft/Mars/mdatacheck/MShowSpect.cc

    r462 r466  
    11#include "MShowSpect.h"
    22
    3 #include <stdlib.h>
    4 
    5 #include <TROOT.h>
    6 #include <TApplication.h>
    7 #include <TSystem.h>
    8 #include <TGClient.h>
    9 #include <TGFileDialog.h>
    10 #include <TVirtualX.h>
    11 
    12 #include "MParList.h"
    13 #include "MHistosAdc.h"
     3#include "MParList.h"      // MParList
     4#include "MGDisplayAdc.h"  // MGDisplayAdc
    145
    156
  • trunk/MagicSoft/Mars/mdatacheck/MShowSpect.h

    r462 r466  
    22#define MSHOWSPECT_H
    33
     4#ifndef MAGIC_H
    45#include "MAGIC.h"
     6#endif
    57
     8#ifndef MTASK_H
    69#include "MTask.h"
    7 #include "MGDisplayAdc.h"
     10#endif
    811
    9 class MGDisplayAdc ;
    10 
     12class MGDisplayAdc;
    1113class MHistosAdc;
    12 class MHistosTdc;
    1314class MParList ;
    1415
  • trunk/MagicSoft/Mars/mgui/MGDataCheckMain.cc

    r461 r466  
    1414
    1515ClassImp(MGDataCheckMain)
     16
     17enum CommandDataChecker {
     18  M_FILE_CLOSE ,
     19  M_BUTTON_PEDADC,
     20  M_BUTTON_CRADC,
     21  M_BUTTON_PEDTDC,
     22  M_BUTTON_CRTDC,
     23
     24  M_PBUTTON_CDIR_UP,
     25  M_PBUTTON_LIST_MODE,
     26  M_PBUTTON_DETAIL_MODE
     27} ;
     28
    1629
    1730MGDataCheckMain::MGDataCheckMain(const TGWindow *p, const TGWindow *main,
     
    188201{
    189202  //delete  fPicCdup, fPicList, fPicDetail;
    190   delete  fLayTab, fLayMenuBar, fLayMenuItem;
    191   delete  fFileView;
    192   delete  fFileCont;
    193   delete  fCdup, fListMode, fDetail;
    194   delete  fDir ;
    195   delete  fTabF1b, fTabF1a, fTabF1;
    196   delete  fButPedADC, fButCrADC, fButPedTDC, fButCrTDC;
    197   delete  fTop3, fTop2, fTop1;
    198   delete  fTab;
    199   delete  fFrameTop, fFrameLow ;
    200   delete  fFileMenu;
    201   delete  fMenuBar;
     203    delete fLayTab;
     204    delete fLayMenuBar;
     205    delete fLayMenuItem;
     206    delete fFileView;
     207    delete fFileCont;
     208    delete fCdup;
     209    delete fListMode;
     210    delete fDetail;
     211    delete fDir ;
     212    delete fTabF1b;
     213    delete fTabF1a;
     214    delete fTabF1;
     215    delete fButPedADC;
     216    delete fButCrADC;
     217    delete fButPedTDC;
     218    delete fButCrTDC;
     219    delete fTop3;
     220    delete fTop2;
     221    delete fTop1;
     222    delete fTab;
     223    delete fFrameTop;
     224    delete fFrameLow;
     225    delete fFileMenu;
     226    delete fMenuBar;
    202227
    203228}
  • trunk/MagicSoft/Mars/mgui/MGDataCheckMain.h

    r461 r466  
    2222class TGFileContainer;
    2323class TGListView;
    24 
    25 enum CommandDataChecker {
    26   M_FILE_CLOSE ,
    27   M_BUTTON_PEDADC,
    28   M_BUTTON_CRADC,
    29   M_BUTTON_PEDTDC,
    30   M_BUTTON_CRTDC,
    31 
    32   M_PBUTTON_CDIR_UP,
    33   M_PBUTTON_LIST_MODE,
    34   M_PBUTTON_DETAIL_MODE
    35 } ;
    36 
    3724
    3825class MGDataCheckMain : public TGTransientFrame {
  • trunk/MagicSoft/Mars/mgui/MGMarsMain.cc

    r464 r466  
    1212
    1313ClassImp(MGMarsMain)
     14
     15enum CommandIdentifiers {
     16  M_FILE_EXIT  ,
     17  M_FILE_ABOUT  ,
     18
     19  M_PICTURE_MAGIC ,
     20  M_PICTURE_MARS ,
     21
     22  M_BUTTON_EVTDISP ,
     23  M_BUTTON_DATACHECK ,
     24  M_BUTTON_ANALYSE ,
     25  M_BUTTON_MONTECARLO
     26} ;
     27
    1428
    1529MGMarsMain::MGMarsMain(const TGWindow *p, UInt_t w, UInt_t h)
     
    125139{
    126140 
    127   delete  fButLayout, fLayMenuBar, fLayMenuItem ;
    128   delete  fButEvtDisp, fButDataCheck, fButAnalys, fButMonteCarlo;
    129   delete  fPicMagic, fPicMars;
    130   delete  fTabF1, fTabF2;
    131   delete  fTab;
    132   delete  fLow, fTop;
    133   delete  fLineSep2, fLineSep;
    134   delete  fFileMenu;
    135   delete  fMenuBar;
     141    delete fButLayout;
     142    delete fLayMenuBar;
     143    delete fLayMenuItem;
     144    delete fButEvtDisp;
     145    delete fButDataCheck;
     146    delete fButAnalys;
     147    delete fButMonteCarlo;
     148    delete fPicMagic;
     149    delete fPicMars;
     150    delete fTabF1;
     151    delete fTabF2;
     152    delete fTab;
     153    delete fLow;
     154    delete fTop;
     155    delete fLineSep2;
     156    delete fLineSep;
     157    delete fFileMenu;
     158    delete fMenuBar;
    136159
    137160// ======================================================================
  • trunk/MagicSoft/Mars/mgui/MGMarsMain.h

    r461 r466  
    1616class TGPictureButton;
    1717class TGHorizontal3DLine;
    18 
    19 enum CommandIdentifiers {
    20   M_FILE_EXIT  ,
    21   M_FILE_ABOUT  ,
    22 
    23   M_PICTURE_MAGIC ,
    24   M_PICTURE_MARS ,
    25 
    26   M_BUTTON_EVTDISP ,
    27   M_BUTTON_DATACHECK ,
    28   M_BUTTON_ANALYSE ,
    29   M_BUTTON_MONTECARLO
    30 } ;
    31 
    3218
    3319class MGMarsMain : public TGMainFrame {
  • trunk/MagicSoft/Mars/mraw/Makefile

    r463 r466  
    66#
    77##################################################################
    8 # @maintitle
    9 
    10 # @code
    11 
    12 #
    13 #  please change all system depend values in the
    14 #  config.mk.${OSTYPE} file
    15 #
    16 #
    178include ../Makefile.conf.$(OSTYPE)
    189include ../Makefile.conf.general
    1910
    20 # @endcode
     11#
     12# Handling name of the Root Dictionary Files
     13#
     14CINT  = Raw
    2115
    22 # @code
    23 
     16#
     17# Library name to creatre
     18#
    2419LIB   = libmraw.a
    2520
     
    2924INCLUDES = -I. -I../mbase
    3025
    31 #
    32 #  ----->>>   root libraries
    33 #
    34 
    35 ROOTLIBS   =  `root-config --libs`
    36 ROOTGLIBS  =  `root-config --glibs`
    37 ROOTCFLAGS =  `root-config --cflags`
    38 
    39 #
    40 #  compiler flags
    41 #
    42 
    43 CXXFLAGS  = $(ROOTCFLAGS) $(INCLUDES) $(OPTIM) $(DEBUG)
    44 CFLAGS    = $(CXXFLAGS)
    45 FFLAGS    = $(CXXFLAGS)
    46 
    4726#------------------------------------------------------------------------------
    4827
    49 #.SILENT:
    50 
    5128.SUFFIXES: .c .cc .cxx .h .hxx .o
    52 
    5329
    5430SRCFILES = MRawRunHeader.cc \
     
    6137           MRawFileWrite.cc
    6238
    63 
    64 
    6539SRCS    = $(SRCFILES)
    6640HEADERS = $(SRCFILES:.cc=.h)
     
    7145all: $(LIB)
    7246
    73 depend:
    74         @makedepend $(SRCS) $(INCLUDES) $(ROOTCFLAGS) \
    75         -f../Makefile.depend 2> kk.kk ; cat kk.kk
     47include ../Makefile.rules
    7648
    77 $(LIB): $(OBJS) RawCint.o
    78         @echo " - Building Library $(LIB) ... "
    79         $(AR) $(LIB) *.o
     49clean:  rmlib rmcint rmobjs rmcore rmbin
    8050
    81 RawCint.cc: $(HEADERS)
    82         @echo
    83         @echo " - Generating dictionary RawCint.cc ..."
    84 
    85         $(ROOTSYS)/bin/rootcint -f RawCint.cc \
    86         -c $(INCLUDES) $(HEADERS) RawIncl.h RawLinkDef.h
    87 
    88 .cxx.o:
    89         @echo " - Compiling " $<
    90         $(CXX) $(CXXFLAGS) -c $< -o $@
    91 
    92 .cc.o: 
    93         @echo " - Compiling " $<
    94         $(CXX) $(CXXFLAGS) -c $< -o $@
    95 
    96 .c.o:   
    97         @echo " - Compiling " $<
    98         $(CC) $(CFLAGS) -c $< -o $@
    99 
    100 #
    101 # The cleaning facility
    102 #
    103 
    104 rmlib: 
    105         @echo "Removing libraries..."
    106         @rm -f lib*.a
    107 
    108 rmcint:
    109         @echo "Removing cint-stuff..."
    110         @rm -f RawCint.*
    111 
    112 rmobjs:
    113         @echo "Removing object files..."
    114         @rm -f *.o
    115 
    116 rmbin: 
    117         @echo "Removing binary files..."
    118         @rm -f core
    119 
    120 
    121 clean:  rmlib rmcint rmobjs rmbin
    122 
    123 mrproper:       clean
    124         @echo "Removing *~ kk.kk html/..."
    125         @rm -f *~ kk.kk
    126 
    127 cflags:
    128         @echo $(INCLUDES) $(CXXFLAGS)
     51mrproper:       clean rmbak
    12952
    13053# @endcode
Note: See TracChangeset for help on using the changeset viewer.