Skip to content

Commit

Permalink
New build target - Bittboy
Browse files Browse the repository at this point in the history
  • Loading branch information
szymor committed Aug 21, 2019
1 parent 1c64038 commit c90217e
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,14 @@ ifeq ($(PLATFORM), rs90)
RELEASEDIR := release
endif

ifeq ($(PLATFORM), bittboy)
CC := arm-linux-gcc
STRIP := arm-linux-strip
SYSROOT := $(shell $(CC) --print-sysroot)
CFLAGS := $(shell $(SYSROOT)/usr/bin/sdl-config --cflags)
LDFLAGS := $(shell $(SYSROOT)/usr/bin/sdl-config --libs) -lm
endif

ifeq ($(PLATFORM), mingw32)
CC := i486-mingw32-gcc
STRIP := i486-mingw32-strip
Expand Down
14 changes: 14 additions & 0 deletions default/game.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Joystick control mode. Value: 0 - off, 1 - digital, 2 - analog
JOY_MODE 2

# Joystick device number. Value: 0 - first joystick, 1 - second joystick, etc.
JOY_NUM 0

# Joystick deadzone. Value range: 0 - 65535
JOY_DEADZONE 5000

# Screen scale. Value: 1 - original, 2 - double
SCALE 1

# Display mode. Value: 0 - windowed, 1 - fullscreen
FULLSCREEN 0
Binary file added default/score.dat
Binary file not shown.

0 comments on commit c90217e

Please sign in to comment.