Skip to content
This repository has been archived by the owner on Aug 31, 2021. It is now read-only.

Commit

Permalink
Fixed remaining compilation issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
Maciej Makowski committed Feb 24, 2014
1 parent 327b6cb commit 746e8b2
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Makefile.emscripten
Expand Up @@ -37,7 +37,7 @@ VERSION=$(shell cat VERSION)
# These should be ok for most
#SDL_CONFIG?=sdl-config
CFLAGS?=-O3 -pipe
CFLAGS+=-Wall `$(SDL_CONFIG) --cflags` -DPLATFORM_PC -DVERSION=\"$(VERSION)\" \
CFLAGS+=-Wall -DPLATFORM_PC -DVERSION=\"$(VERSION)\" \
-DPACKAGE_DATA_DIR=\"$(PACKAGE_DATA_DIR)\" $(FONT_USE_PIXMAP) $(MUSIC) $(DESIGNER)
LDFLAGS=
# Use these instead for debugging and/or profiling (mainly intended for GNU Robbo developers)
Expand All @@ -60,7 +60,7 @@ $(TARGET): $(OBJECTS)
.PHONY: all clean install

clean:
rm -f *.o
rm -f *.o gnurobbo.bc

install:
@if [ "$(PACKAGE_DATA_DIR)" = ./data ] ; then \
Expand Down
2 changes: 1 addition & 1 deletion TARGET
@@ -1 +1 @@
gnurobbo
gnurobbo.bc
Binary file removed board.o
Binary file not shown.
4 changes: 4 additions & 0 deletions controls.c
Expand Up @@ -1477,6 +1477,7 @@ void get_input_device_text (int device, int id, char *joyname, char *text)
case SDLK_RMETA:
strcpy (text, txt_key_RMeta);
break;
#ifndef EMSCRIPTEN
case SDLK_LMETA:
strcpy (text, txt_key_LMeta);
break;
Expand All @@ -1486,6 +1487,7 @@ void get_input_device_text (int device, int id, char *joyname, char *text)
case SDLK_RSUPER:
strcpy (text, txt_key_RSuper);
break;
#endif
case SDLK_MODE:
strcpy (text, txt_key_AltGr);
break;
Expand All @@ -1510,9 +1512,11 @@ void get_input_device_text (int device, int id, char *joyname, char *text)
case SDLK_POWER:
strcpy (text, txt_key_Power);
break;
#ifndef EMSCRIPTEN
case SDLK_EURO:
strcpy (text, txt_key_Euro);
break;
#endif
case SDLK_UNDO:
strcpy (text, txt_key_Undo);
break;
Expand Down

0 comments on commit 746e8b2

Please sign in to comment.