MAKEFILE 1005 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. #
  2. # $Source: f:/miner/source/misc/rcs/makefile $
  3. # $Revision: 1.4 $
  4. # $Author: matt $
  5. # $Date: 1994/11/27 22:27:23 $
  6. #
  7. # Makefile for misc libaray
  8. #
  9. LIBDIR = ..\main
  10. #
  11. CCFLAGS = /dNETWORK /dRELEASE /dNDEBUG
  12. # What to install
  13. INSTALL_TARGS = misc.lib parsarg.h error.h
  14. # What libs to build
  15. LIBS = misc
  16. # What objs in the lib
  17. MISC_OBJS = parsarg.obj error.obj
  18. # What to clean
  19. CLEAN_TARGS = $(OBJDIR)\*.obj
  20. # What test programs to make
  21. TEST_PROGS = errtest parstest
  22. # What object files and libs for the test programs
  23. PARSTEST_SRCS = parstest.c
  24. PARSTEST_LIBS = misc.lib
  25. ERRTEST_SRCS = errtest.c
  26. ERRTEST_LIBS = misc.lib
  27. misc.lib: $(MISC_OBJS)
  28. wlib misc.lib $(MISC_OBJS)
  29. copy *.lib $(LIBDIR)
  30. error.obj: error.c error.h
  31. wcc386 $(CCFLAGS) error.c
  32. errtest.obj: errtest.c error.h
  33. wcc386 $(CCFLAGS) errtest.c
  34. parsarg.obj: parsarg.c parsarg.h
  35. wcc386 $(CCFLAGS) parsarg.c
  36. parstest.obj: parstest.c parsarg.h
  37. wcc386 $(CCFLAGS) parstest.c