###
### Uncomment the next two lines to specify the C compiler (CC)
### and any extra command-line arguments for the C compiler (CFLAGS):
###


CC	= cc
#CC	= gcc
CFLAGS	= -g

INCLUDE= -I/usr/local/include/tcl7.4

LIBS	= /usr/local/lib/libtcl7.4.a -lm 

SHELL	= /bin/sh

OBJS	= cmllib.o,dtdless.o

COPTIONS= $(CFLAGS) $(INCLUDE) $(EXTENSIONS)

.c.o: 
	$(CC) -c $(COPTIONS) $<

cmllib.o:: Makefile

clean:
	-rm -f $(SCRATCH)

tags::
	ctags -wt *.[ch]

lint::
	lint $(LINTFLAGS) *.c > lint.out 2>&1

dtdless::	dtdless.o
	$(CC) -o dtdless dtdless.o $(LIBS)
