home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / STEVIE.ZIP / MAKEFILE.OS2 < prev    next >
Text File  |  1988-06-09  |  1KB  |  73 lines

  1. #
  2. # Makefile for OS/2
  3. #
  4. # The make command with OS/2 is really stupid.
  5. #
  6.  
  7. LIBS = ..\regexp\regexp.obj ..\regexp\regsub.obj
  8.  
  9. #
  10. # Compact model lets us edit large files, but keep small model code
  11. #
  12. MODEL= -AC
  13. CFLAGS = $(MODEL) -I..\regexp
  14.  
  15. MACH=    os2.obj
  16.  
  17. OBJ=    main.obj edit.obj linefunc.obj normal.obj cmdline.obj hexchars.obj \
  18.     misccmds.obj help.obj ptrfunc.obj search.obj alloc.obj \
  19.     mark.obj screen.obj fileio.obj param.obj $(MACH)
  20.  
  21. main.obj:    main.c
  22.     cl -c $(CFLAGS) main.c
  23.  
  24. alloc.obj : alloc.c
  25.     cl -c $(CFLAGS) alloc.c
  26.  
  27. edit.obj : edit.c
  28.     cl -c $(CFLAGS) edit.c
  29.  
  30. linefunc.obj : linefunc.c
  31.     cl -c $(CFLAGS) linefunc.c
  32.  
  33. normal.obj : normal.c
  34.     cl -c $(CFLAGS) normal.c
  35.  
  36. cmdline.obj : cmdline.c
  37.     cl -c $(CFLAGS) cmdline.c
  38.  
  39. hexchars.obj : hexchars.c
  40.     cl -c $(CFLAGS) hexchars.c
  41.  
  42. misccmds.obj : misccmds.c
  43.     cl -c $(CFLAGS) misccmds.c
  44.  
  45. help.obj : help.c
  46.     cl -c $(CFLAGS) help.c
  47.  
  48. ptrfunc.obj : ptrfunc.c
  49.     cl -c $(CFLAGS) ptrfunc.c
  50.  
  51. search.obj : search.c
  52.     cl -c $(CFLAGS) search.c
  53.  
  54. mark.obj : mark.c
  55.     cl -c $(CFLAGS) mark.c
  56.  
  57. screen.obj : screen.c
  58.     cl -c $(CFLAGS) screen.c
  59.  
  60. fileio.obj : fileio.c
  61.     cl -c $(CFLAGS) fileio.c
  62.  
  63. param.obj : param.c
  64.     cl -c $(CFLAGS) param.c
  65.  
  66. os2.obj : os2.c
  67.     cl -c $(CFLAGS) os2.c
  68.  
  69. stevie.exe : $(OBJ)
  70.     cl $(MODEL) *.obj $(LIBS) -o stevie.exe
  71.     copy stevie.exe rstevie.exe
  72.     bind rstevie.exe \lib\api.lib \lib\doscalls.lib
  73.