IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 12, 2004, 3:37:59 PM (22 years ago)
Author:
desonia
Message:

removed the dependency creation stuff, as George hated it ALOT!

File:
1 edited

Legend:

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

    r1171 r1212  
    33##  Makefile:   test/collections
    44##
    5 ##  $Revision: 1.17 $  $Name: not supported by cvs2svn $
    6 ##  $Date: 2004-07-01 21:45:54 $
     5##  $Revision: 1.18 $  $Name: not supported by cvs2svn $
     6##  $Date: 2004-07-13 01:37:58 $
    77##
    88##  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    1616include ../../src/Makefile.Globals
    1717
    18 PSLIB_INCL_DIR = ../../include
    19 
    20 PSLIB_LIB_DIR = ../../lib
     18CFLAGS := -I../../include $(CFLAGS)
     19LDFLAGS := -L../../lib -lpslib -lpstest $(LDFLAGS)
    2120
    2221TARGET = tst_psVector_01 \
     
    3837         tst_psList
    3938
    40 DEPENDENCIES = $(addprefix builddir/,$(addsuffix .d,$(TARGET)))
    41 OBJS = $(addprefix builddir/,$(addsuffix .o,$(TARGET)))
     39OBJS = $(addsuffix .o,$(TARGET))
    4240
    43 all: builddir $(TARGET)
    44 
    45 builddir:
    46         mkdir builddir
    47 
    48 include $(DEPENDENCIES)
     41all: $(TARGET)
    4942
    5043clean:
    5144        @echo "    Deleting executable and binary files for 'test/collections'"
    52         $(RM) $(OBJS) *.lint builddir/*.i
     45        $(RM) $(OBJS)
    5346
    5447distclean: clean
    5548        $(RM) $(TARGET)
    56 
    57 cleandependencies:
    58         $(RM) $(DEPENDENCIES)
    59 
    60 builddir/%.o : builddir/%.i
    61         $(CC) $(CFLAGS) -I$(PSLIB_INCL_DIR) -c -o $@ $<
    62 
    63 builddir/%.o : %.c
    64         $(CC) $(CFLAGS) -I$(PSLIB_INCL_DIR) -c -o $@ $<
    65 
    66 %   : builddir/%.o
    67         $(CC) -o $@ $< -L$(PSLIB_LIB_DIR) -lpslib -lpstest $(LDFLAGS)
    68 
    69 %.lint: %.c
    70         splint +posixlib -exportlocal -realcompare $(INCLUDE_GLOBAL) $? > $@; cat $@
    71 
    72 builddir/%.i: %.c
    73         $(CC) -E $(CFLAGS) $(CPPFLAGS) -I$(PSLIB_INCL_DIR) -o $@ $<
    74 
    75 builddir/%.d: %.c
    76         $(CC) -MM $(CFLAGS) -I$(PSLIB_INCL_DIR) $< | sed 's|\(.*\.o\)|builddir/\1|' > $@
    7749
    7850install: $(testbindir) $(testbindir)/verified $(TARGET)
Note: See TracChangeset for help on using the changeset viewer.