IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

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

Added ability to make .i files (for debugging macros).

File:
1 edited

Legend:

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

    r765 r858  
    33##  Makefile:   collections
    44##
    5 ##  $Revision: 1.15 $  $Name: not supported by cvs2svn $
    6 ##  $Date: 2004-05-24 23:01:35 $
     5##  $Revision: 1.16 $  $Name: not supported by cvs2svn $
     6##  $Date: 2004-06-04 03:14:37 $
    77##
    88##  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    3939all: $(TARGET_STATIC)
    4040
     41# force the creation of a psImage.i for psImage.o (to expand macros).
     42psImage.o: psImage.i
     43
    4144# Rule to make static library
    4245
     
    6063clean:
    6164        @echo "    Deleting intermediate files for 'collections'"
    62         $(RM) $(SRC_OBJS) *.lint $(SRC_OBJS:.o=.d*)
     65        $(RM) $(SRC_OBJS) *.lint $(SRC_OBJS:.o=.d*) $(SRC_OBJS:.o=.i)
    6366
    6467%.lint: %.c
    6568        splint +posixlib -exportlocal -realcompare $(INCLUDE_GLOBAL) $? > $@; cat $@
     69
     70%.i: %.c
     71        $(CC) -E $(CFLAGS) -o $@ $<
     72
     73%.o: %.i
     74        $(CC) -c $(CFLAGS) -o $@ $<
    6675
    6776%.d: %.c
Note: See TracChangeset for help on using the changeset viewer.