IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 3, 2004, 5:13:37 PM (22 years ago)
Author:
desonia
Message:

added ability to make .i files (to help debug macros).

File:
1 edited

Legend:

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

    r780 r857  
    33##  Makefile:   test/collections
    44##
    5 ##  $Revision: 1.8 $  $Name: not supported by cvs2svn $
    6 ##  $Date: 2004-05-25 23:53:51 $
     5##  $Revision: 1.9 $  $Name: not supported by cvs2svn $
     6##  $Date: 2004-06-04 03:13:37 $
    77##
    88##  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    5050clean:
    5151        @echo "    Deleting executable and binary files for 'test/collections'"
    52         $(RM) $(TARGET) *.o *.lint
     52        $(RM) $(TARGET) *.o *.lint *.i *.d
     53
     54%.o : %.i
     55        $(CC) $(CFLAGS) $(CPPFLAGS) -I$(PSLIB_INCL_DIR) -c -o $@ $<
    5356
    5457%.o : %.c
     
    5659
    5760%   : %.o
    58         $(CC) -o $@ $< -L$(PSLIB_LIB_DIR) -lpslib -lpstest $(LDFLAGS) 
     61        $(CC) -o $@ $< -L$(PSLIB_LIB_DIR) -lpslib -lpstest $(LDFLAGS)
    5962
    6063%.lint: %.c
    6164        splint +posixlib -exportlocal -realcompare $(INCLUDE_GLOBAL) $? > $@; cat $@
     65
     66%.i: %.c
     67        $(CC) -E $(CFLAGS) $(CPPFLAGS) -I$(PSLIB_INCL_DIR) -o $@ $<
    6268
    6369%.d: %.c
Note: See TracChangeset for help on using the changeset viewer.