Added CPU parameter for specific CPU optimizations.

This commit is contained in:
n-a-c-h
2005-02-03 17:11:59 +00:00
parent fe3a2ce06e
commit 777ac034aa

View File

@@ -36,7 +36,11 @@ ASM=nasm
ASMOPT=-O1
ASMFLAGSORIG=
COPT=-O3
CFLAGSORIG=-march=i586 -ffast-math -fomit-frame-pointer -fno-unroll-loops -Wall -Wno-unused
CPUOPT=i586
ifneq ($(CPU),)
CPUOPT=$(CPU)
endif
CFLAGSORIG=-march=${CPUOPT} -ffast-math -fomit-frame-pointer -fno-unroll-loops -Wall -Wno-unused
LIBSORIG=-lz -lpng
DRESOBJ=${WINDIR}/zsnes.obj
CROSS=no