|
|
1.1 root 1: # Makefile configuration for Hatari.
2: # This is a sample configuriation for MinGW.
3: # Rename this file to Makefile.cnf before you start compiling.
4:
1.1.1.2 ! root 5: SYS_WINDOWS = 1
! 6:
1.1 root 7: # Set the C compiler (e.g. gcc)
8: CC = gcc
9:
10: # What warnings to use
11: WARNFLAGS = -Wmissing-prototypes -Wstrict-prototypes -Wsign-compare \
12: -Wbad-function-cast -Wcast-qual -Wpointer-arith \
1.1.1.2 ! root 13: -Wall -Wwrite-strings # -Wshadow -Wcast-align -Werror
1.1 root 14:
15: # Set flags passed to the compiler (e.g. optimization flags)
16: CFLAGS := -g -O2 $(WARNFLAGS)
17:
18: # Set flags passed to the preprocessor (e.g. -I<include dir>)
1.1.1.2 ! root 19: CPPFLAGS =
1.1 root 20:
21: # Additional libraries and linker flags:
22: LIBS = -lzdll
23: LDFLAGS = -mwindows
24:
1.1.1.2 ! root 25: # Ranlib - for generating an index of an archive
! 26: RANLIB = ranlib
! 27:
1.1 root 28:
29: # The native C compiler.
30: # This is normaly the same as $(CC) unless you are using a cross compiler.
31: HOSTCC = $(CC)
32:
33: # Native C compiler flags:
34: HOSTCFLAGS = -g -O -Wall
35:
36: # Native linker flags:
37: HOSTLDFLAGS =
38:
39:
40: # SDL-Library configuration (compiler flags and linker options) - you normally
41: # don't have to change this if you have correctly installed the SDL library!
42: SDL_CFLAGS = -I/mingw/include/SDL
43: SDL_LIBS = -lmingw32 -lSDLmain -lSDL
44:
45:
46: # Here you can define the default data directory for Hatari.
47: # The emulator looks there for the default TOS image etc.
48: # For example you can use the local directory with "." or if you want
49: # a system-wide installation, use something like "/usr/share/hatari".
50: DATADIR = .
51:
52: # In this folder, Hatari searches the global configuration file.
53: # /etc or /usr/local/etc is a good place for this.
54: CONFDIR = /windows
55:
56: # The executable will be installed in BINDIR
57: BINDIR = .
58:
59:
60: # Program used for "make install"
61: INSTALL = install -c
62: INSTALL_PROGRAM = $(INSTALL) -s
63: INSTALL_DATA = $(INSTALL) -m 644
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.