代码拉取完成,页面将自动刷新
# -*- Makefile -*-
#
# Makefile.Linux - Makefile rules for linux
#
EXESUFFIX =
OBJSUFFIX = .o
.SUFFIXES:
.SUFFIXES: $(OBJSUFFIX) .cpp .h
TARGET = onscripter$(EXESUFFIX) \
sardec$(EXESUFFIX) \
nsadec$(EXESUFFIX) \
sarconv$(EXESUFFIX) \
nsaconv$(EXESUFFIX)
EXT_OBJS =
# mandatory: SDL, SDL_ttf, SDL_image, SDL_mixer, bzip2, libjpeg
DEFS = -DLINUX
INCS = `sdl-config --cflags`
LIBS = `sdl-config --libs` -lSDL_ttf -lSDL_image -lSDL_mixer -lbz2 -ljpeg -lm
# recommended: smpeg
DEFS += -DUSE_SMPEG
INCS += `smpeg-config --cflags`
LIBS += `smpeg-config --libs`
# recommended: fontconfig (to get default font)
DEFS += -DUSE_FONTCONFIG
LIBS += -lfontconfig
# recommended: OggVorbis
DEFS += -DUSE_OGG_VORBIS
LIBS += -logg -lvorbis -lvorbisfile
# optional: Integer OggVorbis
#DEFS += -DUSE_OGG_VORBIS -DINTEGER_OGG_VORBIS
#LIBS += -lvorbisidec
# optional: support CD audio
DEFS += -DUSE_CDROM
# optional: avifile
DEFS += -DUSE_AVIFILE
INCS += `avifile-config --cflags`
LIBS += `avifile-config --libs`
TARGET += simple_aviplay$(EXESUFFIX)
EXT_OBJS += AVIWrapper$(OBJSUFFIX)
# optional: lua
DEFS += -DUSE_LUA
INCS += -I/usr/include/lua5.1
LIBS += -llua5.1
EXT_OBJS += LUAHandler$(OBJSUFFIX)
# optional: force screen width for PDA
#DEFS += -DPDA_WIDTH=640
# optional: enable English mode
#DEFS += -DENABLE_1BYTE_CHAR -DFORCE_1BYTE_CHAR
# for GNU g++
CC = g++
LD = g++ -o
#CFLAGS = -g -Wall -pipe -c $(INCS) $(DEFS)
CFLAGS = -O3 -Wall -fomit-frame-pointer -pipe -c $(INCS) $(DEFS)
# for GCC on PowerPC specfied
#CC = powerpc-unknown-linux-gnu-g++
#LD = powerpc-unknown-linux-gnu-g++ -o
#CFLAGS = -O3 -mtune=G4 -maltivec -mabi=altivec -mpowerpc-gfxopt -mmultiple -mstring -Wall -fomit-frame-pointer -pipe -c $(INCS) $(DEFS)
# for Intel compiler
#CC = icc
#LD = icc -o
#CFLAGS = -O3 -tpp6 -xK -c $(INCS) $(DEFS)
RM = rm -f
include Makefile.onscripter
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。