Skip to content

Commit 3e53dfa

Browse files
committed
compiling with a simple make and a make platform=funkey_simulated_editor now work again
1 parent fa9584d commit 3e53dfa

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.depend

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
menu.o: src/menu.c src/../include/constant.h src/../include/misc.h \
2-
src/../include/menu.h
1+
menu.o: src/menu.c
32
player.o: src/player.c /usr/include/SDL/SDL.h /usr/include/SDL/SDL_main.h \
43
/usr/include/SDL/SDL_stdinc.h /usr/include/SDL/SDL_config.h \
54
/usr/include/SDL/SDL_platform.h /usr/include/SDL/begin_code.h \

src/menu.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#ifdef FUNKEY_MENU
2+
13
#include <stdio.h>
24
#include <string.h>
35
#include <errno.h>
@@ -739,3 +741,5 @@ void run_menu_loop()
739741
SDL_Flip(hw_screen);
740742
}
741743

744+
745+
#endif //FUNKEY_MENU

0 commit comments

Comments
 (0)