home *** CD-ROM | disk | FTP | other *** search
/ Power Programming / powerprogramming1994.iso / progtool / filutl / brik2src.arc / MAKEFILE.MSC < prev    next >
Text File  |  1989-08-04  |  902b  |  34 lines

  1. # Makefile for Microsoft C 5.1 thanks to Tom Horsley <tom@ssd.harris.com>.
  2. # Slightly modified.  You will need a good "make" utility.  Not tested.
  3. #                                   -- Rahul Dhesi
  4.  
  5. # "make brik.exe"   -- make brik.exe in current directory
  6. # "make clean"      -- delete brik.exe and *.obj, needs "rm" to be present
  7.  
  8. # define your library directory below
  9. LIB = C:\C51\LIB
  10.  
  11. # see "brik.h" for other optional compile-time symbols
  12. CFLAGS = -DMSC51
  13.  
  14. OBJS = brik.obj getopt.obj turboc.obj initcrc.obj addbfcrc.obj
  15.  
  16. brik.exe: $(OBJS)
  17.     $(CC) -Febrik.exe -F 8000 $(OBJS) $(LIB)\setargv.obj /link /NOE
  18.  
  19. turboc.obj: turboc.c brik.h assert.h
  20.  
  21. initcrc.obj: initcrc.c
  22.  
  23. brik.obj: brik.c brik.h assert.h
  24.  
  25. getopt.obj: getopt.c
  26.  
  27. # there is also addbfcrc.asm for speed, designed to work
  28. # with Turbo C.  It may need to be revised for MSC.  -- R.D.
  29.  
  30. addbfcrc.obj: addbfcrc.c
  31.  
  32. clean:
  33.     rm -f *.obj brik.exe
  34.