home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Professional / OS2PRO194.ISO / os2 / editor / flip / makefile.msc < prev    next >
Makefile  |  1994-01-31  |  1KB  |  43 lines

  1. # makefile for MSC 6.00A under OS/2. Adapted from:
  2. #   Following makefile thanks to Tom Horsley <tom@ssd.harris.com>.
  3. #
  4. #   Makefile for flip for MS-DOS and Microsoft C 5.1.  You will need a
  5. #   proper version of make (like the nmake program Microsoft shipped
  6. #   (far too late) with QuickC 2.0).
  7. #
  8. # The MSDOS version used signals and findfirst/findnext calls. We use
  9. # setargv.obj to handle the wildcards. MVFILE is unlink and rename (the
  10. # MSDOS versions used a filecopy due to wildcard handling).
  11. # Darrel Hankerson hank@ducvax.auburn.edu, 26-Aug-92
  12.  
  13. CC = cl
  14. CFLAGS = -c -DMSC51 -DLINT -DNDEBUG
  15. CFMORE =
  16. LD = cl
  17. LDFLAGS = -Lp -F 8000
  18. LDMORE =
  19. PACK = exepack
  20. BIND = bind
  21.  
  22. OBJS = flip.obj getopt.obj mvfile.obj
  23.  
  24. flip.exe: $(OBJS)
  25.     $(LD) $(LDFLAGS) $(OBJS) setargv.obj flip.def /link /NOE
  26.  
  27. flipbnd.exe : flip.exe
  28.     $(BIND) $< /o $@
  29.  
  30. all : flip.exe flipbnd.exe 
  31.  
  32.  
  33. flip.obj: flip.c flip.h
  34.     $(CC) $(CFLAGS) $(CFMORE) flip.c
  35.  
  36. getopt.obj: getopt.c flip.h
  37.     $(CC) $(CFLAGS) $(CFMORE) getopt.c
  38.  
  39. mvfile.obj: mvfile.c flip.h
  40.     $(CC) $(CFLAGS) $(CFMORE) mvfile.c
  41.  
  42.