1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
|
# Makefile configuration for Hatari.
# Set the C compiler (e.g. gcc)
CC = i486-linux-gnu-gcc
# Set flags passed to the compiler (e.g. optimization flags)
CFLAGS = -Wall -g -O2 -Wall
# Set flags passed to the preprocessor (e.g. -I<include dir>)
CPPFLAGS =
# Additional libraries and linker flags:
LIBS = -lz
LDFLAGS =
# The native C compiler.
# This is normaly the same as $(CC) unless you are using a cross compiler.
HOSTCC = i486-linux-gnu-gcc
# Native C compiler flags:
HOSTCFLAGS = -Wall -g -O2 -Wall
# Native linker flags:
HOSTLDFLAGS =
# SDL-Library configuration (compiler flags and linker options)
SDL_CFLAGS = -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT
SDL_LIBS = -L/usr/lib -lSDL
# Paths and directories
prefix = /usr
exec_prefix = ${prefix}
# Here you can define the default data directory for Hatari.
# The emulator looks there for the default TOS image etc.
# For example you can use the local directory with "." or if you want
# a system-wide installation, use something like "/usr/share/hatari".
DATADIR = ${prefix}/share/hatari
# In this folder, Hatari searches the global configuration file.
# /etc or /usr/local/etc is a good place for this.
CONFDIR = /etc
# The executable will be installed in BINDIR
BINDIR = ${exec_prefix}/bin
# Program used for "make install"
INSTALL = /usr/bin/install -c
INSTALL_PROGRAM = ${INSTALL} -s
INSTALL_DATA = ${INSTALL} -m 644
|