Added C code and compilation.
1 parent da926c0 commit 673651b4c3c30da6640c3fa590b06053b3df2138
@tundra tundra authored on 2 Mar 2005
Showing 1 changed file
View
9
makefile
# Build a release of tconfpy using 'make'
# $Id: makefile,v 1.100 2005/03/02 05:55:45 tundra Exp $
# $Id: makefile,v 1.101 2005/03/02 08:37:59 tundra Exp $
# Requires a modern 'make' like GNU.
 
 
# Uncomment One Of The Following For Early Releases
PROGNAME = validate-upg
 
PORTNAME = ${PROGNAME}
 
PROGFILES = ${PROGNAME}.py
PROGFILES = ${PROGNAME} ${PROGNAME}.c ${PROGNAME}.py
 
SUPPFILES = ${PROGNAME}-license.txt CHANGELOG.txt Makefile READ-1ST.txt WHATSNEW.txt setup.py
 
DOCFILES = ${PROGNAME}.html ${PROGNAME}.pdf ${PROGNAME}.ps ${PROGNAME}.py.ps ${PROGNAME}.txt \
@chmod 644 ${DOCFILES} ${SUPPFILES}
@chmod 644 *.gz *.txt
@flip -u *txt
 
${PROGNAME}: ${PROGNAME}.c
cc -o $@ $<
 
progs: ${PROGFILES}
chmod 755 ${PROGFILES}
chmod 750 ${PROGFILES}
 
release: docs progs
@mkdir ${DIR}
@mv ${DOCFILES} ${PROGFILES} ${SUPPFILES} ${DIR}