📄 makefile.unix
字号:
#
#
# SNEeSe, an Open Source Super NES emulator.
#
#
# Copyright (c) 1998-2004 Charles Bilyue'.
# Portions Copyright (c) 2003-2004 Daniel Horchner.
#
# This is free software. See 'LICENSE' for details.
# You must read and accept the license prior to use.
#
#
PLATFORM := unix
# Unix/Linux
# How to call the tools we need to use
NASM := nasm -w+orphan-labels -w+macro-params -O20 -DUNIX
GCC := gcc -Werror -Wall -DUNIX
# GCC of DJGPP and Cygwin defines unix, __unix__ and __unix.
RM := rm -f
MD := mkdir -p
# Default filename extension for executables
EXE_EXT :=
# How to inform the linker of libraries we're using
ALLEG := `allegro-config --shared`
# Set up build for this platform.
SUFFIX :=
AFLAGS := -f elf
GXX := g++
NO_SELF_MODIFY := 1
ZLIB := 1 # comment this line to disable ZLIB support
ifdef ZLIB
# TODO: Fix the following problem. When dynamically linking to zlib I get the
# error: "undefined reference to gzgets". This is strange, because I don't get
# an error message for the other zlib functions. Even stranger, "ldd sneese"
# doesn't show a reference to libz.so. For now the problem is "fixed" by
# statically linking to zlib.
#MIOFLAGS := -lz
MIOFLAGS := /usr/lib/libz.a
endif
include makefile.all
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -