notaz.gp2x.de
/
pcsx_rearmed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
drc: implemented STL/STR stubs (at least I think I did)
[pcsx_rearmed.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
10614ec
..
69c4f5e
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-65,7
+65,18
@@
OBJS += frontend/plat_omap.o
else
OBJS += frontend/plat_dummy.o
endif
else
OBJS += frontend/plat_dummy.o
endif
+ifdef PCNT
+CFLAGS += -DPCNT
+endif
frontend/%.o: CFLAGS += -Wall -DIN_EVDEV
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
$(TARGET): $(OBJS)
$(CC) -o $@ $^ $(LDFLAGS) -Wl,-Map=$@.map