# This Makefile is for building the certVersion file. COMMON_SOURCES= COMMON_HEADERS=certVersion.h CUSTOM_INCLUDES= SVNVER=${shell /sw/bin/svnversion --no-newline ${CERT}} all: include ${MPT}/Build/common.mk all: certVersion.o certVersion.o: certVersion.c perl -i -pe "s/#define SVN_REV \"[^\"]*\"/#define SVN_REV \"${SVNVER}\"/g" certVersion.c ${CC} ${CFLAGS} -c $^ clean: common_clean