home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / misc / volume9 / draw_jt / part01 / makefile.dos < prev    next >
Encoding:
Makefile  |  1989-12-12  |  515 b   |  27 lines

  1. #
  2. #
  3. # I don't know about Mosse-dos makes.  This makefile does not work with
  4. # Microsoft make (?).  Here is a bat file you can use to compile each .c
  5. # file into .obj, how about link ?
  6. #        cl -AL -FPa -Zi -c %1.c
  7.  
  8. SRC    = draw.c hpp.c getopt.c
  9. OBJS    = draw.obj hpp.obj getopt.obj
  10.  
  11. draw.exe:    $(OBJS)
  12.     link $(OBJS),,,;
  13.  
  14. all:    draw.exe
  15.  
  16. koe:    draw.exe koe.dat
  17.     draw -dd -x 5,5,15 -y 0,10,30 -g 1,2 koe.dat >koe.pic
  18.  
  19. getopt.obj:    getopt.c
  20.     cl -c $*.c
  21.  
  22. hpp.obj:    hpp.c hpp.h
  23.     cl -c $*.c
  24.  
  25. draw.obj:    draw.c hpp.h
  26.     cl -c $*.c
  27.