home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / pc / source / shark.lzh / makefile.msc < prev    next >
Makefile  |  1990-11-12  |  1KB  |  48 lines

  1. #This makefile is set up for my make program and Microsoft C v5.1
  2. #It will not run properly under Microsoft MAKE program.
  3. #setargv.obj is Microsoft's code for wild card expansion
  4. #wild card expansion routine to come.
  5.  
  6. #the following means small model, maximum optimizing, define NDEBUG
  7. CFLAGS =-AS -Ox -DNDEBUG -DMSC
  8. LIB =D:\MSC\LIB
  9. BIN =c:/usr/bin
  10. UPLOAD=d:/files/general
  11. OBJ=compress.obj compusi.obj compapi.obj
  12.  
  13. #use the following for linking non debug version
  14. #file set up for library for real mode operation
  15. #you will have to modify for your compiler
  16.  
  17. compress.exe : $(OBJ)
  18.     link @dos.lnk
  19.     exepack compress.exe comp16.exe
  20.  
  21. btoa.exe: btoa.obj
  22.     cl -DMSC btoa.c
  23.  
  24. atob.exe: atob.obj
  25.     cl -DMSC atob.c
  26.  
  27. install:
  28.     cp btoa.exe $(BIN)/btoa.exe
  29.     cp atob.exe $(BIN)/atob.exe 
  30.     cp comp16.exe $(BIN)/comp16.exe
  31.     cp comp16.exe $(BIN)/zcat.exe
  32.     cp comp16.exe $(BIN)/uncomp.exe
  33.  
  34.  
  35. comp14:
  36.      cl -c -AS -Ox -DNDEBUG -DMSC -DMAXBITS=14 compress.c compusi.c compapi.c
  37.      link @dos.lnk
  38.      exepack compress.exe comp14.exe
  39.      rm compress.obj compusi.obj compapi.obj
  40.  
  41. comp12:
  42.      cl -c -AS -Ox -DNDEBUG -DMSC -DMAXBITS=12 compress.c compusi.c compapi.c
  43.      link @dos.lnk
  44.      exepack compress.exe comp12.exe
  45.      rm compress.obj compusi.obj compapi.obj
  46.  
  47. $(OBJ): compress.h compress.fns
  48.