-CT=/scratch/ct/ct
+CT=/home/andy/src/ct/ct
CFLAGS='--std=c99 -Wall'
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
icotool -c $prereq -o $target
images/logo.png: ../aweather/data/icons/scalable/aweather.svg
- rsvg -w 130 -h 130 $prereq $target
+ rsvg-convert -w 130 -h 130 -o $target $prereq
clean:V:
rm -f *.o *.cgi html.c
push:V:
- user=spenceal
- dest=/home/lug/htdocs/proj/aweather/
- serv=lug.rose-hulman.edu
+ user=andy
+ dest=/home/pileus/htdocs/aweather/
+ serv=pileus.org
rsync -uavz .htaccess \
$user@$serv:$dest
rsync -uavz --delete \