more sms wip, better ROM detect, line callback change
[libpicofe.git] / common / revision.mak
diff --git a/common/revision.mak b/common/revision.mak
new file mode 100644 (file)
index 0000000..03093e3
--- /dev/null
@@ -0,0 +1,8 @@
+platform/common/menu.o : revision.h
+
+revision.h: FORCE
+       @echo "#define REVISION \"`svn info -r HEAD | grep Revision | cut -c 11-`\"" > /tmp/r.tmp
+       @diff -q $@ /tmp/r.tmp > /dev/null 2>&1 || mv -f /tmp/r.tmp $@
+
+FORCE:
+