libpicofe/common/revision.mak
notaz 4182d35d5d new memory handling, but asm and mappers need update.
Some cleanup and magic bit removal as a bonus.


git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@768 be3aeb3a-fb24-0410-a615-afba39da0efa
2009-09-02 16:05:54 +00:00

12 lines
293 B
Makefile

platform/common/menu.o : revision.h
revision.h: FORCE
ifndef NOREVISION
@echo "#define REVISION \"`svn info -r HEAD | grep Revision | cut -c 11-`\"" > /tmp/r.tmp
else
@echo "#define REVISION \"0\"" > /tmp/r.tmp
endif
@diff -q $@ /tmp/r.tmp > /dev/null 2>&1 || mv -f /tmp/r.tmp $@
FORCE: