File:  [HATARI the Atari ST Emulator] / hatari / Makefile-MinGW.cnf
Revision 1.1.1.5 (vendor branch): download - view: text, annotated - select for diffs
Mon Apr 1 07:15:10 2019 UTC (2 years, 9 months ago) by root
Branches: hatari, MAIN
CVS tags: hatari01310, hatari01300, hatari01200, HEAD
hatari 1.2.0

    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: SYS_WINDOWS = 1
    6: 
    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 \
   13:   -Wall -Wwrite-strings # -Wshadow -Wcast-align -Werror
   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>)
   19: CPPFLAGS =
   20: 
   21: # Additional libraries and linker flags:
   22: LIBS = -lz -lws2_32
   23: LDFLAGS = -mwindows
   24: 
   25: # Ranlib - for generating an index of an archive
   26: RANLIB = ranlib
   27: 
   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

unix.superglobalmegacorp.com