Added CPU parameter for specific CPU optimizations.
This commit is contained in:
@@ -36,7 +36,11 @@ ASM=nasm
|
|||||||
ASMOPT=-O1
|
ASMOPT=-O1
|
||||||
ASMFLAGSORIG=
|
ASMFLAGSORIG=
|
||||||
COPT=-O3
|
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
|
LIBSORIG=-lz -lpng
|
||||||
DRESOBJ=${WINDIR}/zsnes.obj
|
DRESOBJ=${WINDIR}/zsnes.obj
|
||||||
CROSS=no
|
CROSS=no
|
||||||
|
|||||||
Reference in New Issue
Block a user