aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authornotaz2010-12-12 01:40:19 +0200
committernotaz2010-12-14 15:25:05 +0200
commit3c70c47bb2fa50066c4c3b23813253e03b8751fe (patch)
tree4f1a9dcfa15ed42879951aa970d016c18f98dbc0 /Makefile
parent722285599b1ce45ca435f484b0f34a5e568487a1 (diff)
downloadpcsx_rearmed-3c70c47bb2fa50066c4c3b23813253e03b8751fe.tar.gz
pcsx_rearmed-3c70c47bb2fa50066c4c3b23813253e03b8751fe.tar.bz2
pcsx_rearmed-3c70c47bb2fa50066c4c3b23813253e03b8751fe.zip
menu: implement savestates and scaling cfg
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 7f4d21b..69c4f5e 100644
--- a/Makefile
+++ b/Makefile
@@ -69,6 +69,14 @@ ifdef PCNT
CFLAGS += -DPCNT
endif
frontend/%.o: CFLAGS += -Wall -DIN_EVDEV
+frontend/menu.o: frontend/revision.h
+
+frontend/revision.h: FORCE
+ @(git describe || echo) | sed -e 's/.*/#define REV "\0"/' > $@_
+ @diff -q $@_ $@ > /dev/null 2>&1 || cp $@_ $@
+ @rm $@_
+.PHONY: FORCE
+
$(TARGET): $(OBJS)
$(CC) -o $@ $^ $(LDFLAGS) -Wl,-Map=$@.map