Mercurial > hg > sidinfo
diff Makefile.w32 @ 68:8dda5f225083
Improve build process.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sun, 27 Dec 2015 22:10:29 +0200 |
parents | ea774012d049 |
children | 19cbd8642875 |
line wrap: on
line diff
--- a/Makefile.w32 Sun Dec 27 22:04:43 2015 +0200 +++ b/Makefile.w32 Sun Dec 27 22:10:29 2015 +0200 @@ -4,13 +4,13 @@ # C-compiler, flags and linker flags MINGW_PREFIX=i686-w64-mingw32- -CC=$(MINGW_PREFIX)gcc -AR=$(MINGW_PREFIX)ar -RANLIB=$(MINGW_PREFIX)ranlib -WINDRES=$(MINGW_PREFIX)windres +CC ?= $(MINGW_PREFIX)gcc +AR ?= $(MINGW_PREFIX)ar +RANLIB ?= $(MINGW_PREFIX)ranlib +WINDRES ?= $(MINGW_PREFIX)windres -CFLAGS=-DHAVE_STRING_H -DTH_BYTEORDER=TH_LITTLE_ENDIAN -mconsole -LDFLAGS= -s +CFLAGS += -DHAVE_STRING_H -DTH_BYTEORDER=TH_LITTLE_ENDIAN -mconsole +LDFLAGS += -s # Miscellaneous EXEEXT=.exe