diff options
Diffstat (limited to 'progs/samples')
-rw-r--r-- | progs/samples/Makefile.DJ | 5 | ||||
-rw-r--r-- | progs/samples/Makefile.mgw | 5 |
2 files changed, 2 insertions, 8 deletions
diff --git a/progs/samples/Makefile.DJ b/progs/samples/Makefile.DJ index 557695a66cb..cda4e059418 100644 --- a/progs/samples/Makefile.DJ +++ b/progs/samples/Makefile.DJ @@ -31,8 +31,6 @@ # Available options: # # Environment variables: -# CPU optimize for the given processor. -# default = pentium # GLIDE path to Glide3 SDK; used with FX. # default = $(TOP)/glide3 # FX=1 build for 3dfx Glide3. Note that this disables @@ -54,12 +52,11 @@ .SECONDARY: ../util/readtex.o ../util/showbuffer.o TOP = ../.. -CPU ?= pentium GLIDE ?= $(TOP)/glide3 CC = gcc CFLAGS = -Wall -W -pedantic -CFLAGS += -O2 -ffast-math -mtune=$(CPU) +CFLAGS += -O2 -ffast-math CFLAGS += -I$(TOP)/include -I../util CFLAGS += -DGLUT_IMPORT_LIB ifeq ($(FX),1) diff --git a/progs/samples/Makefile.mgw b/progs/samples/Makefile.mgw index 54dbfb706ad..11935405783 100644 --- a/progs/samples/Makefile.mgw +++ b/progs/samples/Makefile.mgw @@ -31,8 +31,6 @@ # Available options: # # Environment variables: -# CPU optimize for the given processor. -# default = pentium # # Targets: # <file.exe> build a specific file @@ -45,11 +43,10 @@ .SECONDARY: ../util/readtex.o ../util/showbuffer.o TOP = ../.. -CPU ?= pentium CC = mingw32-gcc CFLAGS = -Wall -W -pedantic -CFLAGS += -O2 -ffast-math -mtune=$(CPU) +CFLAGS += -O2 -ffast-math CFLAGS += -I$(TOP)/include -I../util ifeq ($(FX),1) CFLAGS += -DFX |