Annotation of hatari/Makefile-MinGW.cnf, revision 1.1.1.1

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

unix.superglobalmegacorp.com