#
#  Makefile for c2html
#
#  $Id: Makefile,v 1.3 2005/02/11 22:41:38 debug Exp $
#

OBJS=main.o scan_c.o is_reserved.o relative.o build_ht.o \
	hashfind.o ignore.o to_html.o directory.o
#CC=gcc
#CFLAGS=-Wall -g
INCLUDES=global.h
BINS=c2html


all: $(BINS)

clean:
	rm -f $(BINS) $(OBJS) *core


%.o: %.c $(INCLUDES)
	$(CC) $(CFLAGS) -c $<


c2html: $(OBJS)
	$(CC) $(OBJS) -o c2html

