IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 261


Ignore:
Timestamp:
Mar 19, 2004, 9:09:10 AM (22 years ago)
Author:
rhl
Message:

Support tst_* programmes

File:
1 edited

Legend:

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

    r228 r261  
    88        ranlib libUtils.a
    99#
    10 # Test code (change #if 0 to #if 1 in ONE source file to build)
     10# Test code
    1111#
    12 array : libUtils.a array.o
    13         $(CC) -o array array.o libUtils.a
    14 dlist : libUtils.a dlist.o
    15         $(CC) -o dlist dlist.o libUtils.a
    16 logmsg : libUtils.a logmsg.o
    17         $(CC) -o logmsg logmsg.o libUtils.a
    18 memory : libUtils.a
    19         $(CC) -o memory memory.o libUtils.a
    20 trace : libUtils.a
    21         $(CC) -o trace trace.o libUtils.a
     12TST_PROGS = tst_array tst_dlist tst_hash tst_logmsg tst_memory tst_trace
     13test : $(TST_PROGS)
     14        for p in $(TST_PROGS); do \
     15                echo $$p; \
     16                $$p; \
     17        done
     18tst_array : libUtils.a tst_array.o
     19        $(CC) -o tst_array tst_array.o libUtils.a
     20tst_dlist : libUtils.a tst_dlist.o
     21        $(CC) -o tst_dlist tst_dlist.o libUtils.a
     22tst_hash : libUtils.a tst_hash.o
     23        $(CC) -o tst_hash tst_hash.o libUtils.a
     24tst_logmsg : libUtils.a tst_logmsg.o
     25        $(CC) -o tst_logmsg tst_logmsg.o libUtils.a
     26tst_memory : libUtils.a tst_memory.o
     27        $(CC) -o tst_memory tst_memory.o libUtils.a
     28tst_trace : libUtils.a tst_trace.o
     29        $(CC) -o tst_trace tst_trace.o libUtils.a
    2230#
    2331#
     
    2735#
    2836clean :
    29         $(RM) $(PROGS) *.o *.a *.log *.dvi *.aux *.toc *.log *.out *~ core TAGS
     37        $(RM) $(TST_PROGS) *.o *.a *.log *.dvi *.aux *.toc *.log *.out *~ core TAGS
    3038empty : clean
Note: See TracChangeset for help on using the changeset viewer.