2 CFLAGS='--std=c99 -Wall'
4 PKG_FLAGS=`{pkg-config --cflags glib-2.0}
5 PKG_LIBS=`{pkg-config --libs glib-2.0}
7 index.cgi: index.o html.o
8 gcc $CFLAGS -o $target $prereq $PKG_LIBS
11 gcc $CFLAGS $PKG_FLAGS -c -o $target $stem.c
14 $CT -o $target $prereq
17 rm -f *.o *.cgi html.c
21 dest=/home/lug/htdocs/proj/aweather/
22 rsync -uavz .htaccess \
23 $user@lug.rose-hulman.edu:$dest
24 rsync -uavz --delete \
27 index.cgi images screens data \
28 $user@lug.rose-hulman.edu:$dest