1 CT=/home/andy/src/ct/ct
2 CFLAGS='--std=c99 -Wall'
4 all:V: index.cgi manual.inc images/aweather.ico images/logo.png
6 index.cgi: index.o html.o
7 gcc $CFLAGS -o $target $prereq
10 gcc $CFLAGS -c -o $target $stem.c
13 $CT -o $target $prereq
15 manual.inc: ../aweather/docs/userguide.ad
16 asciidoc -s -a toc -a numbered -b xhtml11 -o- $prereq \
17 | awk -f toc.awk > $target
19 images/aweather.ico: ../aweather/data/icons/16x16/aweather.png
20 icotool -c $prereq -o $target
22 images/logo.png: ../aweather/data/icons/scalable/aweather.svg
23 rsvg -w 130 -h 130 $prereq $target
26 rm -f *.o *.cgi html.c
30 dest=/home/pileus/htdocs/aweather/
32 rsync -uavz .htaccess \
34 rsync -uavz --delete \
37 index.cgi manual.inc images screens data \