Port of SuperTux
This commit is contained in:
2
src/app/supertux/dummy.cc
Normal file
2
src/app/supertux/dummy.cc
Normal file
@@ -0,0 +1,2 @@
|
||||
/* silence debug messages */
|
||||
extern "C" void _sigprocmask() { }
|
||||
19
src/app/supertux/target.mk
Normal file
19
src/app/supertux/target.mk
Normal 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"'
|
||||
Reference in New Issue
Block a user