Newer
Older
after5 / Makefile
@HIROSE Yuuji HIROSE Yuuji on 1 Apr 2012 393 bytes Use `hg archive' to create archive.
#
# makefile for after5 cgi wrapper
#

CC	= gcc
VERSION	= `head after5.cgi|awk '/Id:/{print $$4}'`
PNAME	= after5-${VERSION}
TMPDIR	= /tmp
PFILE	= ${TMPDIR}/${PNAME}.tar.gz

FILES	= a5.c Makefile after5.cgi after5.css after5.png after5.rb \
	  holiday
GTAR	= gtar
HG	= hg

a5.cgi:	a5.c
	${CC} -o a5.cgi a5.c
	chmod u+s a5.cgi

package:
	${HG} archive -t tgz -X '.*' ${PFILE}
	-@ls -l ${PFILE}