home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS 1992 June / SIMTEL_0692.cdr / msdos / sysutl / picnix32.arc / MAKE.ARC / MAKEFILE < prev    next >
Encoding:
Text File  |  1986-01-31  |  1.1 KB  |  39 lines

  1.         ### this is the makefile for make.exe itself
  2.  
  3. OBJS=make.o mstring.o path.o
  4. ARCS=make.doc make.exe make.c make.h makefile mstring.c mstring.h path.c make.ini touch.c
  5. CFLAGS=/DNDEBUG
  6.  
  7. exe : make.exe touch.exe
  8. all : install
  9. install : $BIN\make.exe $BIN\touch.exe $BIN\make.ini
  10. arc : make.arc
  11. clean : install
  12.         del *.o
  13.         del make.arc
  14. chkdsk :
  15.         # use this to see how much memory remains when make is resident
  16.         chkdsk
  17.  
  18.      ###      lines below this one are not for the user                 ###
  19.  
  20. mstring.o : mstring.h
  21. make.o : make.h mstring.h
  22. $BIN\make.ini : make.ini
  23.         copy make.ini $BIN
  24. $BIN\make.exe : make.exe
  25.         copy make.exe $BIN
  26. $BIN\touch.exe : touch.exe
  27.         copy touch.exe $BIN
  28. make.arc : $ARCS
  29.         del make.arc
  30.         arc u make $ARCS
  31. make.exe : $OBJS
  32.         # the CPARMAXALLOC option gives spawned programs more space !!
  33.         # with it and the msc v 3.00 compiler, MAKE uses only 42K
  34.         link $OBJS /CPARMAXALLOC:1 /STACK:0x4000;
  35. touch.exe : touch.o
  36.         link touch.o $LIB\ssetargv;
  37.  
  38.  
  39.