Changeset 261
- Timestamp:
- Mar 19, 2004, 9:09:10 AM (22 years ago)
- File:
-
- 1 edited
-
trunk/archive/pslib/src/Utils/Makefile (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/archive/pslib/src/Utils/Makefile
r228 r261 8 8 ranlib libUtils.a 9 9 # 10 # Test code (change #if 0 to #if 1 in ONE source file to build)10 # Test code 11 11 # 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 12 TST_PROGS = tst_array tst_dlist tst_hash tst_logmsg tst_memory tst_trace 13 test : $(TST_PROGS) 14 for p in $(TST_PROGS); do \ 15 echo $$p; \ 16 $$p; \ 17 done 18 tst_array : libUtils.a tst_array.o 19 $(CC) -o tst_array tst_array.o libUtils.a 20 tst_dlist : libUtils.a tst_dlist.o 21 $(CC) -o tst_dlist tst_dlist.o libUtils.a 22 tst_hash : libUtils.a tst_hash.o 23 $(CC) -o tst_hash tst_hash.o libUtils.a 24 tst_logmsg : libUtils.a tst_logmsg.o 25 $(CC) -o tst_logmsg tst_logmsg.o libUtils.a 26 tst_memory : libUtils.a tst_memory.o 27 $(CC) -o tst_memory tst_memory.o libUtils.a 28 tst_trace : libUtils.a tst_trace.o 29 $(CC) -o tst_trace tst_trace.o libUtils.a 22 30 # 23 31 # … … 27 35 # 28 36 clean : 29 $(RM) $( PROGS) *.o *.a *.log *.dvi *.aux *.toc *.log *.out *~ core TAGS37 $(RM) $(TST_PROGS) *.o *.a *.log *.dvi *.aux *.toc *.log *.out *~ core TAGS 30 38 empty : clean
Note:
See TracChangeset
for help on using the changeset viewer.
