IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 1099


Ignore:
Timestamp:
Jun 25, 2004, 1:28:31 PM (22 years ago)
Author:
gusciora
Message:

Reverting back to working makefile.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/dataManip/Makefile

    r1095 r1099  
    33##  Makefile:   test/sysUtils
    44##
    5 ##  $Revision: 1.18 $  $Name: not supported by cvs2svn $
    6 ##  $Date: 2004-06-25 07:28:04 $
     5##  $Revision: 1.19 $  $Name: not supported by cvs2svn $
     6##  $Date: 2004-06-25 23:28:31 $
    77##
    88##  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
    99##
    1010###############################################################################
    11 
    12 ifndef prefix
    13     export prefix=$(shell cd ../..;pwd)
    14 endif
    1511
    1612include ../../src/Makefile.Globals
     
    4339 tst_psImageStats00 \
    4440 tst_psImageStats01 \
    45  tst_psImageStats02 \
    46  tst_psImageStats03 \
    47  tst_psMinimize00 \
    48  tst_psMinimize01 \
    49  tst_psMinimize02 \
    50  tst_psImageIO \
    51  tst_psVectorFFT \
    52  tst_psImageFFT
     41 tst_psImageStats02
    5342
    54 DEPENDENCIES = $(addprefix builddir/,$(addsuffix .d,$(TARGET)))
    55 OBJS = $(addprefix builddir/,$(addsuffix .o,$(TARGET)))
     43all: $(TARGET)
    5644
    57 all: builddir $(TARGET)
    58 
    59 builddir:
    60         mkdir builddir
    61 
    62 include $(DEPENDENCIES)
     45tst_psMatrix01:         tst_psMatrix01.o
     46tst_psMatrix02:         tst_psMatrix02.o
     47tst_psMatrix03:         tst_psMatrix03.o
     48tst_psMatrix04:         tst_psMatrix04.o
     49tst_psMatrix05:         tst_psMatrix05.o
     50tst_psMatrix06:         tst_psMatrix06.o
     51tst_psMatrix07:         tst_psMatrix07.o
     52tst_psStats00:          tst_psStats00.o
     53tst_psStats01:          tst_psStats01.o
     54tst_psStats02:          tst_psStats02.o
     55tst_psStats03:          tst_psStats03.o
     56tst_psStats04:          tst_psStats04.o
     57tst_psStats05:          tst_psStats05.o
     58tst_psStats06:          tst_psStats06.o
     59tst_psStats07:          tst_psStats07.o
     60tst_psStats08:          tst_psStats08.o
     61tst_psStats09:          tst_psStats09.o
     62tst_psHist00:           tst_psHist00.o
     63tst_psHist01:           tst_psHist01.o
     64tst_psHist02:           tst_psHist02.o
     65tst_psFunc00:           tst_psFunc00.o
     66tst_psFunc01:           tst_psFunc01.o
     67tst_psFunc02:           tst_psFunc02.o
     68tst_psFunc03:           tst_psFunc03.o
     69tst_psImageStats00:     tst_psImageStats00.o
     70tst_psImageStats01:     tst_psImageStats01.o
     71tst_psImageStats02:     tst_psImageStats02.o
     72tst_psImageStats03:     tst_psImageStats03.o
    6373
    6474clean:
    6575        @echo "    Deleting executable and binary files for 'test/sysUtils'"
    66         $(RM) $(OBJS) *.lint tmpImages/*.fits
     76        $(RM) $(TARGET) *.o *.lint
    6777
    68 builddir/%.o : %.c
     78%.o : %.c
    6979        $(CC) $(CFLAGS) $(CPPFLAGS) -I.. -I$(PSLIB_INCL_DIR) -c -o $@ $<
    7080
    71 %   : builddir/%.o
    72         $(CC) -o $@ $< -L$(PSLIB_LIB_DIR) -lpslib -lpstest $(LDFLAGS)
     81%   : %.o
     82        $(CC) -o $@ $< -L$(PSLIB_LIB_DIR) -lpslib -lpstest -lgsl -lgslcblas $(LDFLAGS)
    7383
    74 distclean: clean
     84## NOTE: The distclean target does not remove the .o files.  The Makefiles must
     85## be repaired.
     86distclean:
    7587        $(RM) $(TARGET)
    7688
     
    7890        splint +posixlib -exportlocal -realcompare $(INCLUDE_GLOBAL) $? > $@; cat $@
    7991
    80 builddir/%.d: %.c
    81         $(CC) -MM $(CFLAGS) -I$(PSLIB_INCL_DIR) $< > $@.tmp
    82         sed 's|\($*\)\.o[ :]*|builddir\/\1.o $@ : |g' $@.tmp > $@
    83         $(RM) -f $@.tmp
    8492
    85 install: $(testbindir) $(testbindir)/verified $(TARGET)
    86         install $(TARGET) $(testbindir)
    87         install verified/*.stderr verified/*.stdout $(testbindir)/verified
    88 
    89 $(testbindir):
    90         mkdir -p $(testbindir)
    91 
    92 $(testbindir)/verified:
    93         mkdir -p $(testbindir)/verified
    94 
    95 
Note: See TracChangeset for help on using the changeset viewer.