X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=makefile.inc;h=68ffc78619ab26f43a4b66ff092214af9bbe3c4d;hb=ce52d79dfc936b5a7607f5ce59e6e3fdfcaee2b5;hp=9fcea9580bd825c1d940cfddb1208186cad00f31;hpb=95f66338c8144989970daa0fa4b38c87e9af94a0;p=xonotic%2Fdarkplaces.git diff --git a/makefile.inc b/makefile.inc index 9fcea958..68ffc786 100644 --- a/makefile.inc +++ b/makefile.inc @@ -3,15 +3,17 @@ # Choose the compiler you want to use CC=gcc -# K6/athlon optimizations -#CPUOPTIMIZATIONS=-march=k6 -# Note: don't use -march=athlon, every gcc which has it currently (2.96-3.1) -# have optimizer bugs (like entities disappearing randomly - a bug with -# compiling BOX_ON_PLANE_SIDE in mathlib.h) +# athlon optimizations #CPUOPTIMIZATIONS=-march=athlon -# 686 optimizations +# athlon xp optimizations +#CPUOPTIMIZATIONS=-march=athlon-xp +# Pentium 3 optimizations +#CPUOPTIMIZATIONS=-march=pentium3 +# Pentium 4 optimizations +#CPUOPTIMIZATIONS=-march=pentium4 +# 686 (Pentium Pro/II) optimizations #CPUOPTIMIZATIONS=-march=i686 -# No specific CPU +# No specific CPU (386 compatible) CPUOPTIMIZATIONS= @@ -201,7 +203,7 @@ OBJ_WGL= builddate.c darkplaces.o sys_win.o vid_wgl.o conproc.o $(OBJ_WINSOUND) LDFLAGS_WINCOMMON=-lwinmm -lwsock32 LDFLAGS_WINCL=$(LDFLAGS_WINCOMMON) -mwindows -luser32 -lgdi32 -ldxguid -ldinput -lcomctl32 LDFLAGS_WINSV=$(LDFLAGS_WINCOMMON) -mconsole -lwinmm -lwsock32 -LDFLAGS_WINSDL=$(LDFLAGS_WINCOMMON) -mwindows -luser32 -lgdi32 -ldxguid -ldinput -lcomctl32 -lSDL +LDFLAGS_WINSDL=$(LDFLAGS_WINCOMMON) `sdl-config --libs` EXE_WINCL=darkplaces.exe EXE_WINSV=darkplaces-dedicated.exe EXE_WINSDL=darkplaces-sdl.exe