Changeset 323 for trunk/archive/pslib/src/Utils/Makefile
- Timestamp:
- Mar 31, 2004, 12:23:09 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/archive/pslib/src/Utils/Makefile (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/archive/pslib/src/Utils/Makefile
r261 r323 4 4 PSLIB_DIR = ../.. 5 5 6 libUtils.a : array.o dlist.o hash.o logmsg.o memory.o misc.o trace.o 6 # array.o dlist.o 7 libUtils.a : error.o hash.o logmsg.o memory.o misc.o trace.o 7 8 ar r libUtils.a $? 8 9 ranlib libUtils.a 9 10 # 11 # Error codes 12 # 13 psErrorCodes.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 16 error.o : psErrorCodes.c 17 # 10 18 # Test code 11 19 # 12 TST_PROGS = tst_array tst_dlist tst_ hash tst_logmsg tst_memory tst_trace20 TST_PROGS = tst_array tst_dlist tst_error tst_hash tst_logmsg tst_memory tst_trace 13 21 test : $(TST_PROGS) 14 22 for p in $(TST_PROGS); do \ … … 20 28 tst_dlist : libUtils.a tst_dlist.o 21 29 $(CC) -o tst_dlist tst_dlist.o libUtils.a 30 tst_error : libUtils.a tst_error.o 31 $(CC) -o tst_error tst_error.o libUtils.a 22 32 tst_hash : libUtils.a tst_hash.o 23 33 $(CC) -o tst_hash tst_hash.o libUtils.a … … 35 45 # 36 46 clean : 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 38 48 empty : clean
Note:
See TracChangeset
for help on using the changeset viewer.
