X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=Makefile.sdl;h=dccd43df57fa12c276bb408201f2e4da1a228608;hb=ed531dd606f7ea4558517576afee38253450d1c3;hp=2cb118ddbfdc7e07df586e4d503c7bd1a0f5d0b5;hpb=e4434f79e73411f4d069831cb813f7db1b1f933b;p=fceu.git diff --git a/Makefile.sdl b/Makefile.sdl index 2cb118d..dccd43d 100644 --- a/Makefile.sdl +++ b/Makefile.sdl @@ -43,6 +43,11 @@ include Makefile.base ${C}menu.o: ${C}revision.h ppu.o: ppu.c ppu.h +drivers/sdl/sdl.o: ${L}menu.h +${L}menu.h: + @echo "please run: git submodule init; git submodule update" + @false + ${C}revision.h: FORCE @(git describe || echo) | sed -e 's/.*/#define REV "\0"/' > $@_ @diff -q $@_ $@ > /dev/null 2>&1 || cp $@_ $@