aboutsummaryrefslogtreecommitdiff
path: root/win32/amd64
diff options
context:
space:
mode:
authorTakamichi Horikawa <takamichiho@gmail.com>2017-03-27 23:32:18 +0900
committerTakamichi Horikawa <takamichiho@gmail.com>2017-03-27 23:32:18 +0900
commit0073f2b8befc6163f2970cb7a01e75fffc95994e (patch)
treeaab8d559720269e65b5ad05c07d98a865ff14e57 /win32/amd64
parente2ee18347d45e4620a8279afb8b0bc4a809441ef (diff)
refactor common file loading functions
Diffstat (limited to 'win32/amd64')
-rw-r--r--win32/amd64/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/win32/amd64/Makefile b/win32/amd64/Makefile
index d3b0130..177ef90 100644
--- a/win32/amd64/Makefile
+++ b/win32/amd64/Makefile
@@ -2,6 +2,8 @@ vpath %.c ../
vpath %.c ../../fmdriver
vpath %.c ../../libopna
vpath %.c ../../fmdsp
+vpath %.c ../../tonedata
+vpath %.c ../../common
vpath %.rc ..
include ../fmplayer.mak
@@ -12,7 +14,7 @@ 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 -Wno-unused-parameter -Wno-missing-field-initializers -I../.. \
$(addprefix -D,$(DEFINES))
LIBS=-s -mwindows -municode \
$(addprefix -l,$(LIBBASE))