From ee10fbca093ea29c561297787f4cdead72660ede Mon Sep 17 00:00:00 2001 From: Charlie Gordon Date: Tue, 18 Dec 2007 12:20:28 +0000 Subject: [PATCH] added C compile rule --- libqhtml/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libqhtml/Makefile b/libqhtml/Makefile index 44d23b3..9ed914c 100644 --- a/libqhtml/Makefile +++ b/libqhtml/Makefile @@ -29,8 +29,12 @@ $(LIB): $(OBJS) rm -f $@ $(AR) rc $@ $(OBJS) +%.o: %.c Makefile + $(CC) $(DEFINES) $(CFLAGS) -o $@ -c $< + clean: - rm -f *~ *.o *.a *.exe csstoqe html_style.c docbook_style.c + rm -f *~ *.o *.a *.exe *_g TAGS gmon.out core *.exe.stackdump \ + csstoqe html_style.c docbook_style.c # # build default style sheet file