head 1.5; access ; symbols ; locks ; comment @# @; 1.5 date 89.03.15.16.48.42; author pkern; state Exp; branches ; next 1.4; 1.4 date 89.02.03.18.39.23; author pkern; state Exp; branches ; next 1.3; 1.3 date 89.01.31.14.19.40; author pkern; state Exp; branches ; next 1.2; 1.2 date 89.01.31.14.11.07; author pkern; state Exp; branches ; next 1.1; 1.1 date 89.01.05.12.05.50; author pkern; state Exp; branches ; next ; desc @@ 1.5 log @gfx_m.c added to source list @ text @# # cterm Turbo C makefile # ($Header: makefile,v 1.4 89/02/03 18:39:23 pkern Exp $) # #CC= tcc -mc CC= tcc # SYS (system type): # TI = TI Professional # PC = IBM PC SYS= TI # CFLAGS= -Ddbg -DFINIT="cterm.ini" CFLAGS= -M -G -D$(SYS) -DMACHINE_H="$(SYS).h" EXE= cterm # Source files: # main.c - main() & misc. system-related routines # cterm.c - term() (the main I/O loop), devset() (the I/O chooser) # esc.c - vt100 and vt52 ESC code interpreter. # gfx.c - home-brew graphics ESC code interpreter. # gfx_m.c - some graphics routines borrowed from BellCore's MGR. # misc.c - misc vt100/vt52 key-code strings and routines. # printer.c - dummy printer-port routines # keybrd.$(SYS) - keyboard map and keyboard bios routines # ports.$(SYS) - serial port I/O routines # screen.$(SYS) - screen handling (text and graphics) # setup.c - vt100-style interactive setup control # defs.c - load/save setups from/to init file # text.c - capture/send raw text # kermit.c - antique C-kermit (from usenet (mod.sources?)) # xmodem.c - antique C-xmodem (from usenet (net.sources?)) OBJ= main.obj cterm.obj misc.obj esc.obj gfx.obj gfx_m.obj \ keybrd.obj ports.obj screen.obj printer.obj \ setup.obj defs.obj text.obj \ kermit.obj xmodem.obj cterm: $(OBJ) $(CC) $(CFLAGS) -e$(EXE) *.obj # # new: saves time by loading tcc just once # new: turboc.cfg touch *.* $(CC) $(CFLAGS) -c *.c *.$(SYS) all: new cterm .$(SYS).obj: $(CC) $(CFLAGS) -c $< .c.obj: $(CC) $(CFLAGS) -c $< clean: turboc.cfg -del *.obj -del *.map @ 1.4 log @*** empty log message *** @ text @d3 1 a3 1 # ($Header: makefile,v 1.3 89/01/31 14:19:40 pkern Exp $) d22 1 d30 1 a30 1 # setup.c - interactive setup control (vt100-like) d35 1 a35 1 # xmodem.c - antique C-xmodem (from usenet (mod.sources?)) d37 2 a38 2 OBJ= main.obj cterm.obj misc.obj esc.obj gfx.obj printer.obj \ keybrd.obj ports.obj screen.obj \ @ 1.3 log @*** empty log message *** @ text @d3 1 a3 1 # ($Header: makefile,v 1.2 89/01/31 14:11:07 pkern Exp $) d5 1 d17 1 d52 3 @ 1.2 log @*** empty log message *** @ text @d3 1 a3 1 # ($Header$) d6 6 d13 1 a13 1 CFLAGS= -M -G -DQUIKSCROLL d16 6 a21 4 OBJ= main.obj cterm.obj esc.obj misc.obj \ keybrd.obj ports.obj screen.obj gfx.obj \ setup.obj defs.obj \ text.obj kermit.obj xmodem.obj d23 16 d42 3 d47 2 a48 2 $(CC) $(CFLAGS) -c *.c @ 1.1 log @Initial revision @ text @d2 2 @