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/sysUtils/Makefile

    r1109 r1212  
    33##  Makefile:   test/sysUtils
    44##
    5 ##  $Revision: 1.16 $  $Name: not supported by cvs2svn $
    6 ##  $Date: 2004-06-26 03:05:12 $
     5##  $Revision: 1.17 $  $Name: not supported by cvs2svn $
     6##  $Date: 2004-07-13 01:37:59 $
    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 = atst_psAbort_01  \
     
    4140         tst_psTrace04
    4241
    43 DEPENDENCIES = $(addprefix builddir/,$(addsuffix .d,$(TARGET)))
    44 OBJS = $(addprefix builddir/,$(addsuffix .o,$(TARGET)))
     42OBJS = $(addsuffix .o,$(TARGET))
    4543
    46 all: builddir $(TARGET)
    47 
    48 builddir:
    49         mkdir builddir
    50 
    51 include $(DEPENDENCIES)
     44all: $(TARGET)
    5245
    5346clean:
    54         @echo "    Deleting executable and binary files for 'test/sysUtils'"
    55         $(RM) $(OBJS) *.lint
     47        @echo "    Deleting executable and binary files for 'test/collections'"
     48        $(RM) $(OBJS)
    5649
    5750distclean: clean
    5851        $(RM) $(TARGET)
    59 
    60 cleandependencies:
    61         $(RM) $(DEPENDENCIES)
    62 
    63 builddir/%.o : %.c
    64         $(CC) $(CFLAGS) $(CPPFLAGS) -I.. -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/%.d: %.c
    73         $(CC) -MM $(CFLAGS) -I$(PSLIB_INCL_DIR) $< | sed 's|\(.*\.o\)|builddir/\1|' > $@
    7452
    7553install: $(testbindir) $(testbindir)/verified $(TARGET)
     
    8361        mkdir -p $(testbindir)/verified
    8462
     63
Note: See TracChangeset for help on using the changeset viewer.