home *** CD-ROM | disk | FTP | other *** search
- #
- # Makefile for EEDRAW program. Turbo C++ tcc (and up) is assumed available.
- #
- # Gershon Elber, Nov. 1989.
-
- # Works only on TC++ 1.0 make and up - swap out make before invoking command.
- .SWAP
-
- # Your C compiler and linker
- CC = bcc
- LNK = tlink
-
- # Include directories other than default ones.
- INC = -Ic:\bc\myinclude
- LIB = c:\bc\mylib
-
- # Non debug flags:
- #
- # BC 2.0 or previous
- # CFLAGS = -ml -c -a- -ff -G -O -r -d -w -v- -y- -k- -N-
- #
- # BC++ 3.0 (with optimizer).
- CFLAGS = -ml -c -a- -ff -G -O1 -r -d -w -v- -y- -k- -N-
- LFLAGS = /x/c
-
- # Debug flags:
- # CFLAGS = -ml -c -a- -ff -d -w -N -v -y
- # LFLAGS = /v
-
- #
- # Libs to link with
- #
- LIBS = $(LIB)\intr_lib.lib $(LIB)\misc_lib.lib \
- c:\bc\lib\graphics.lib c:\bc\lib\emu.lib \
- c:\bc\lib\mathl.lib c:\bc\lib\cl.lib
-
- # The {$< } is also new to TC++ 1.0 make - remove the { } pair if your make
- # choke on them (the { } signals batch mode that combines few operation at the
- # same time - very nice feature!).
- .c.obj:
- $(CC) $(INC) $(CFLAGS) {$< }
-
- OBJS = ctrl-brk.obj director.obj eecreate.obj eedraw.obj \
- eelibs1.obj eelibs2.obj eeload.obj eemodify.obj eeredraw.obj \
- eestatus.obj eestring.obj
-
- EEDraw: $(OBJS)
- $(LNK) @&&!
- c:\bc\lib\c0l.obj+
- $(OBJS)
- eedraw.exe
- eedraw.map
- $(LIBS)
- !$(LFLAGS)
-
- ctrl-brk.obj: ctrl-brk.h
- director.obj: program.h director.h ctrl-brk.h eeredraw.h
- eecreate.obj: program.h eemodify.h eecreate.h eeredraw.h
- eedraw.obj: program.h eelibs.h eecreate.h eeredraw.h eestatus.h eemodify.h eeload.h director.h ctrl-brk.h
- eelibs1.obj: program.h director.h eelibs.h eelibsl.h eemodify.h eeredraw.h eestring.h
- eelibs2.obj: program.h director.h eelibs.h eelibsl.h eeload.h eemodify.h eeredraw.h eestring.h
- eeload.obj: program.h director.h eelibs.h eemodify.h eeredraw.h eeload.h
- eemodify.obj: program.h eelibs.h eemodify.h eeredraw.h eestring.h
- eeredraw.obj: program.h eeredraw.h eemodify.h eestring.h
- eestatus.obj: program.h eestatus.h
- eestring.obj: program.h eestring.h
-