]> Pileus Git - ~andy/aweather-web/blobdiff - mkfile
Remove extra mk junk
[~andy/aweather-web] / mkfile
diff --git a/mkfile b/mkfile
index 4b7a69fc904ee09174b440311efe51fe7799d41f..fae719dabb04e3795b99335e2074a93a48c4e25d 100644 (file)
--- a/mkfile
+++ b/mkfile
@@ -1,21 +1,27 @@
 CT=/scratch/ct/ct
 CFLAGS='--std=c99 -Wall'
 
-all:V: index.cgi manual.inc
+all:V: index.cgi manual.inc images/aweather.ico images/logo.png
 
 index.cgi: index.o html.o
-       gcc $CFLAGS -o $target $prereq $PKG_LIBS
+       gcc $CFLAGS -o $target $prereq
 
 %.o: %.c html.h
-       gcc $CFLAGS $PKG_FLAGS -c -o $target $stem.c
+       gcc $CFLAGS -c -o $target $stem.c
 
 %.c: %.ct
        $CT -o $target $prereq 
 
-manual.inc: ../docs/userguide.ad
+manual.inc: ../aweather/docs/userguide.ad
        asciidoc -s -a toc -a numbered -b xhtml11 -o- $prereq \
        | awk -f toc.awk > $target
 
+images/aweather.ico: ../aweather/data/icons/16x16/aweather.png
+       icotool -c $prereq -o $target
+
+images/logo.png: ../aweather/data/icons/scalable/aweather.svg
+       rsvg -w 130 -h 130 $prereq $target
+
 clean:V:
        rm -f *.o *.cgi html.c