#   depend - Updates dependency list for rebuilding.
#   all    - Compiles, links, creates executable.
#   clean  - Deletes object and executable files.
# 
#	Trouble compiling:  Try changing cc to your preferred compiler (gcc, icc, etc.)


HDR = parsefunctions.h cmfgetln.h linktitlehandler.h imagehandler.h
SRC = cmfgetln.c main.c parse.c common.c linktitlehandler.c imagehandler.c
EXE = rss2html
CCC = cc

# You shouldn't have to modify beyond here, unless I
# really screwed something up.
######################################################################

OBJ = ${SRC:.c=.o}

all : ${EXE}

${EXE} : ${OBJ}
	${CCC} -g -Wall -o $@ ${OBJ}

clean :
	rm -f ${OBJ} ${EXE} ${SUB}.tar.gz *~

.SUFFIXES : .o .c

.c.o:
	${CCC} -g -Wall -c $<

depend: 
	${CCC} -E -MM ${SRC} > depends

depends:
	touch depends

include depends
