# This Makefile is for building the certVersion file. COMMON_SOURCES= COMMON_HEADERS=certVersion.h CUSTOM_INCLUDES= all: include ${MPT}/Build/common.mk CERT_SVN=${shell ${SVNVEREXE} --no-newline ${CERT}} all: certVersion.o certVersion.c: certVersion.c.in perl -pe "s/#define CERT_SVN_REV \"[^\"]*\"/#define CERT_SVN_REV \"${CERT_SVN}\"/g" $^ > $@ certVersion.o: certVersion.c ${CC} ${CFLAGS} -c $^ ${ARCHFLAG} clean: common_clean rm -f certVersion.c printenv: env