IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 14, 2004, 3:55:11 PM (22 years ago)
Author:
desonia
Message:

fixed the automagic dependency calculations.

File:
1 edited

Legend:

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

    r691 r698  
    55TARGET_STATIC  = libpslib.a
    66include ../Makefile.Globals
    7 CFLAGS := $(CFLAGS_RELOC) -I.
     7CFLAGS := $(CFLAGS_RELOC) -I. -I../sysUtils -I../collections -I..
    88SRC_OBJS = psStats.o
    99
     
    1212%.o:    %.c
    1313        @echo "    Compiling $<. "
    14         $(CC) $(CFLAGS) -I../sysUtils -I../collections -I.. -c $< -o $@
     14        $(CC) $(CFLAGS) -c $< -o $@
    1515
    1616libpslib.a:     $(SRC_OBJS)
     
    3434%.lint: %.c
    3535        splint +posixlib -exportlocal -realcompare $(INCLUDE_GLOBAL) $? > $@; cat $@
     36
     37%.d: %.c
     38        @set -e; rm -f $@; \
     39        $(CC) -M $(CFLAGS) $< > $@.$$$$; \
     40        sed 's,\($*\)\.o[ :]*,\1.o $@ : ,g' < $@.$$$$ > $@; \
     41        rm -f $@.$$$$
     42
     43include $(SRC_OBJS:.o=.d)
Note: See TracChangeset for help on using the changeset viewer.