changeset 54:98fbe3cdb93f

fixup makefile
author Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
date Wed, 25 Feb 2009 17:35:37 -0500
parents 3566e2f6754c
children b58bc13b5192
files Makefile
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Wed Feb 25 17:31:06 2009 -0500
+++ b/Makefile	Wed Feb 25 17:35:37 2009 -0500
@@ -2,11 +2,12 @@
 CFLAGS=-Wall -g -O2 -std=c99 -D_POSIX_C_SOURCE=199309 -lrt
 
 FILES=sar.c post.c xattr.c html.c dir.c
+BINS=story index archive category feed comment
 
-all: story index archive category feed comment
+all: $(BINS)
 
 clean:
-	rm -f story index
+	rm -f $(BINS)
 
 index: index.c $(FILES)
 	$(CC) $(CFLAGS) -o $@ index.c $(FILES)