IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 31, 2004, 12:23:09 PM (22 years ago)
Author:
rhl
Message:

Build psErrorCodes.c and tst_error

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/archive/pslib/src/Utils/Makefile

    r261 r323  
    44PSLIB_DIR = ../..
    55
    6 libUtils.a : array.o dlist.o hash.o logmsg.o memory.o misc.o trace.o
     6# array.o dlist.o
     7libUtils.a : error.o hash.o logmsg.o memory.o misc.o trace.o
    78        ar r libUtils.a $?
    89        ranlib libUtils.a
    910#
     11# Error codes
     12#
     13psErrorCodes.c : $(PSLIB_DIR)/src/Utils/psErrorCodes.dat
     14        $(PSLIB_DIR)/bin/makeErrorCodes -c psErrorCodes.c -h $(PSLIB_DIR)/include/psErrorCodes.h \
     15                        $(PSLIB_DIR)/src/Utils/psErrorCodes.dat
     16error.o : psErrorCodes.c
     17#
    1018# Test code
    1119#
    12 TST_PROGS = tst_array tst_dlist tst_hash tst_logmsg tst_memory tst_trace
     20TST_PROGS = tst_array tst_dlist tst_error tst_hash tst_logmsg tst_memory tst_trace
    1321test : $(TST_PROGS)
    1422        for p in $(TST_PROGS); do \
     
    2028tst_dlist : libUtils.a tst_dlist.o
    2129        $(CC) -o tst_dlist tst_dlist.o libUtils.a
     30tst_error : libUtils.a tst_error.o
     31        $(CC) -o tst_error tst_error.o libUtils.a
    2232tst_hash : libUtils.a tst_hash.o
    2333        $(CC) -o tst_hash tst_hash.o libUtils.a
     
    3545#
    3646clean :
    37         $(RM) $(TST_PROGS) *.o *.a *.log *.dvi *.aux *.toc *.log *.out *~ core TAGS
     47        $(RM) $(TST_PROGS) *.o *.a *.log *.dvi *.aux *.toc *.log *.out *~ core TAGS psErrorCodes.c
    3848empty : clean
Note: See TracChangeset for help on using the changeset viewer.