home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / GRAPHICS / MISC / EEDRW23S.ZIP / MAKEFILE.TC < prev    next >
Encoding:
Text File  |  1992-02-14  |  2.0 KB  |  67 lines

  1. #
  2. # Makefile for EEDRAW program. Turbo C++ tcc (and up) is assumed available.
  3. #
  4. #                    Gershon Elber, Nov. 1989.
  5.  
  6. # Works only on TC++ 1.0 make and up - swap out make before invoking command.
  7. .SWAP
  8.  
  9. # Your C compiler and linker
  10. CC = bcc
  11. LNK = tlink
  12.  
  13. # Include directories other than default ones.
  14. INC = -Ic:\bc\myinclude
  15. LIB = c:\bc\mylib
  16.  
  17. # Non debug flags:
  18. #
  19. # BC 2.0 or previous
  20. # CFLAGS = -ml -c -a- -ff -G -O -r -d -w -v- -y- -k- -N-
  21. #
  22. # BC++ 3.0 (with optimizer).
  23. CFLAGS = -ml -c -a- -ff -G -O1 -r -d -w -v- -y- -k- -N-
  24. LFLAGS = /x/c
  25.  
  26. # Debug flags:
  27. # CFLAGS = -ml -c -a- -ff -d -w -N -v -y
  28. # LFLAGS = /v
  29.  
  30. #
  31. # Libs to link with
  32. #
  33. LIBS =  $(LIB)\intr_lib.lib $(LIB)\misc_lib.lib \
  34.     c:\bc\lib\graphics.lib c:\bc\lib\emu.lib \
  35.     c:\bc\lib\mathl.lib c:\bc\lib\cl.lib
  36.  
  37. # The {$< } is also new to TC++ 1.0 make - remove the { } pair if your make
  38. # choke on them (the { } signals batch mode that combines few operation at the
  39. # same time - very nice feature!).
  40. .c.obj:
  41.     $(CC) $(INC) $(CFLAGS) {$< }
  42.  
  43. OBJS =    ctrl-brk.obj director.obj eecreate.obj eedraw.obj \
  44.      eelibs1.obj eelibs2.obj eeload.obj eemodify.obj eeredraw.obj \
  45.     eestatus.obj eestring.obj
  46.  
  47. EEDraw:    $(OBJS)
  48.     $(LNK) @&&!
  49. c:\bc\lib\c0l.obj+
  50. $(OBJS)
  51. eedraw.exe
  52. eedraw.map
  53. $(LIBS)
  54. !$(LFLAGS)
  55.  
  56. ctrl-brk.obj:    ctrl-brk.h
  57. director.obj:    program.h director.h ctrl-brk.h eeredraw.h
  58. eecreate.obj:    program.h eemodify.h eecreate.h eeredraw.h
  59. eedraw.obj:    program.h eelibs.h eecreate.h eeredraw.h eestatus.h eemodify.h eeload.h director.h ctrl-brk.h
  60. eelibs1.obj:    program.h director.h eelibs.h eelibsl.h eemodify.h eeredraw.h eestring.h
  61. eelibs2.obj:    program.h director.h eelibs.h eelibsl.h eeload.h eemodify.h eeredraw.h eestring.h
  62. eeload.obj:    program.h director.h eelibs.h eemodify.h eeredraw.h eeload.h
  63. eemodify.obj:    program.h eelibs.h eemodify.h eeredraw.h eestring.h
  64. eeredraw.obj:    program.h eeredraw.h eemodify.h eestring.h
  65. eestatus.obj:    program.h eestatus.h
  66. eestring.obj:    program.h eestring.h
  67.