Mercurial > hg > sidinfo
changeset 219:d4246534daad
Makefile cleanups.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 05 Dec 2019 02:52:01 +0200 |
parents | 40e3e25b9586 |
children | e79a93971d27 |
files | Makefile.w32 Makefile.w64 |
diffstat | 2 files changed, 16 insertions(+), 19 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile.w32 Thu Dec 05 00:15:40 2019 +0200 +++ b/Makefile.w32 Thu Dec 05 02:52:01 2019 +0200 @@ -4,19 +4,18 @@ # Compiler, flags and linker flags BINTOOL_PREFIX=i686-w64-mingw32- -WINDRES = $(BINTOOL_PREFIX)windres - -CFLAGS += -DTH_BYTEORDER=TH_LITTLE_ENDIAN -mconsole -D_NO_BOOL_TYPEDEF -LDFLAGS += -s -CFLAGS += -DHAVE_STRING_H -CFLAGS += -DHAVE_STDINT_H -#CFLAGS += -DHAVE_SYS_TYPES_H -#CFLAGS += -DHAVE_INTTYPES_H +CFLAGS += -mconsole \ + -DTH_BYTEORDER=TH_LITTLE_ENDIAN \ + -D_NO_BOOL_TYPEDEF \ + -DHAVE_STRING_H \ + -DHAVE_STDINT_H + +LDFLAGS += -s # Miscellaneous EXEEXT=.exe -OBJPATH=obj/win32/ +OBJPATH=./obj/win32/ BINPATH=./
--- a/Makefile.w64 Thu Dec 05 00:15:40 2019 +0200 +++ b/Makefile.w64 Thu Dec 05 02:52:01 2019 +0200 @@ -4,19 +4,18 @@ # Compiler, flags and linker flags BINTOOL_PREFIX=x86_64-w64-mingw32- -WINDRES = $(BINTOOL_PREFIX)windres - -CFLAGS += -DTH_BYTEORDER=TH_LITTLE_ENDIAN -mconsole -D_NO_BOOL_TYPEDEF -LDFLAGS += -s -CFLAGS += -DHAVE_STRING_H -CFLAGS += -DHAVE_STDINT_H -#CFLAGS += -DHAVE_SYS_TYPES_H -#CFLAGS += -DHAVE_INTTYPES_H +CFLAGS += -mconsole \ + -DTH_BYTEORDER=TH_LITTLE_ENDIAN \ + -D_NO_BOOL_TYPEDEF \ + -DHAVE_STRING_H \ + -DHAVE_STDINT_H + +LDFLAGS += -s # Miscellaneous EXEEXT=.exe -OBJPATH=obj/win64/ +OBJPATH=./obj/win64/ BINPATH=./ @@ -24,4 +23,3 @@ ### Stuff ### include Makefile.gen -