# Makefile for html2setext
# Created 14/12/94 by Andrew Pam
# Last updated 05/03/95 by Andrew Pam
# Copyright (c) 1994, 1995 Serious Cybernetics
CC=gcc # C compiler
LEX=flex # Lexer (must be flex)
YACC=yacc # Parser compiler
CFLAGS=-Wall -O # C compiler options
LDFLAGS=-s # Linker options
LDLIBS=-lfl # Linker libraries
LFLAGS=-ipsv # Lexer options
YFLAGS=-d # Parser compiler options
OBJECT=html2setext.o html.o
html2setext: $(OBJECT)
$(CC) $(LDFLAGS) $(OBJECT) $(LDLIBS) -o $@
html.o: html.c y.tab.h
html2setext.o y.tab.h: html2setext.c
html2setext.c: html2setext.y
html.c: html.l
clean:
$(RM) html2setext.c html.c y.tab.h $(OBJECT)