# MAKEFILE for LC.COM ( or LC.EXE ) by Paul Frattaroli
# copyright(c) 1990 by Paul Frattaroli
# Makefile for Borland's make utility (or any reasonable MAKE utility)
# This makefile will build lc.com by default
# If you do not have the utility exe2com ( or similar to replace it )
# type "make lc"

CFLAGS = -G -O -mt -a -d -Z
SRC = lc.c
PROGRAM = lc

all: lc com clean

lc:
	tcc $(CFLAGS) $(SRC)

com:
	exe2com $(PROGRAM)

clean:
	del $(PROGRAM).exe
	del *.obj

