diff options
author | Takamichi Horikawa <takamichiho@gmail.com> | 2017-03-27 23:32:18 +0900 |
---|---|---|
committer | Takamichi Horikawa <takamichiho@gmail.com> | 2017-03-27 23:32:18 +0900 |
commit | 0073f2b8befc6163f2970cb7a01e75fffc95994e (patch) | |
tree | aab8d559720269e65b5ad05c07d98a865ff14e57 /win32/x86 | |
parent | e2ee18347d45e4620a8279afb8b0bc4a809441ef (diff) |
refactor common file loading functions
Diffstat (limited to 'win32/x86')
-rw-r--r-- | win32/x86/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/win32/x86/Makefile b/win32/x86/Makefile index 1a4c6d8..b26f3e1 100644 --- a/win32/x86/Makefile +++ b/win32/x86/Makefile @@ -3,6 +3,7 @@ vpath %.c ../../fmdriver vpath %.c ../../libopna vpath %.c ../../fmdsp vpath %.c ../../tonedata +vpath %.c ../../common vpath %.rc .. include ../fmplayer.mak @@ -13,9 +14,9 @@ PREFIX=$(ARCH)-w64-mingw32- CC=$(PREFIX)gcc WINDRES=$(PREFIX)windres STRIP=$(PREFIX)strip -CFLAGS=-std=c99 -Os -Wall -Wextra -pedantic -I../.. \ +CFLAGS=-std=c99 -O2 -Wall -Wextra -Werror -pedantic -I../.. \ $(addprefix -D,$(DEFINES)) \ - -march=i586 + -march=i586 -Wno-unused-parameter -Wno-missing-field-initializers LIBS=-s -mwindows -municode \ $(addprefix -l,$(LIBBASE)) |