Port of SuperTux

This commit is contained in:
Norman Feske
2014-11-09 19:31:18 +01:00
parent d54d8cc5ae
commit 7dd0f21b42
5 changed files with 176 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
/* silence debug messages */
extern "C" void _sigprocmask() { }

View File

@@ -0,0 +1,19 @@
TARGET := supertux
SUPERTUX_DIR := $(call select_from_ports,supertux)/src/app/supertux
SRC_CC := $(notdir $(wildcard $(SUPERTUX_DIR)/src/*.cpp))
SRC_CC += dummy.cc
vpath %.cpp $(SUPERTUX_DIR)/src
INC_DIR += $(SUPERTUX_DIR)/src
LIBS += base libc libm stdcxx
LIBS += sdl sdl_image sdl_mixer zlib
$(TARGET): supertux_data.tar
supertux_data.tar:
$(VERBOSE)cd $(SUPERTUX_DIR); tar cf $(PWD)/bin/$@ data
CC_OPT += -DNOOPENGL -DDATA_PREFIX='"/data"'