]> Pileus Git - ~andy/aweather-web/blobdiff - mkfile
Update for 0.6 (alerts plugin)
[~andy/aweather-web] / mkfile
diff --git a/mkfile b/mkfile
index 1f156888129d7a0a378b6f593599db3ae89bf950..317ad45b21c54c7d83182a1b416daaba31e938cb 100644 (file)
--- a/mkfile
+++ b/mkfile
@@ -7,8 +7,8 @@ PKG_LIBS=`{pkg-config --libs glib-2.0}
 index.cgi: index.o html.o
        gcc $CFLAGS -o $target $prereq $PKG_LIBS
 
-%.o: %.c
-       gcc $CFLAGS $PKG_FLAGS -c -o $target $prereq
+%.o: %.c html.h
+       gcc $CFLAGS $PKG_FLAGS -c -o $target $stem.c
 
 %.c: %.ct
        $CT -o $target $prereq