# This makefile is for format and Borland Turbo C++ 3.0.
#

# macros:

CC=tcc
CFLAGS=-ms  
LDFLAGS=
LDLIBS=
RM=del

# build targets:

all: format.exe

format.exe: format.obj getopt.obj 
 $(CC) $(CFLAGS) $(LDFLAGS) -eformat format.obj getopt.obj $(LDLIBS) 

# compile targets:

format.obj: format.c
 $(CC) $(CFLAGS) -c format.c

getopt.obj: getopt.c
 $(CC) $(CFLAGS) -c getopt.c

# clean up:

clean:
 $(RM) *.obj

clobber: 
 $(RM) *.bak
 $(RM) *.dsk
 $(RM) *.exe
 $(RM) *.obj
 $(RM) *.swp

