get rid of unused span->start field
[mesa.git] / progs / samples / Makefile.mgw
index 40d4aaf58d3f2f0e8005fa49cf70c4970c0c9ecb..11935405783d9798a76045d1631fd23904ba0da3 100644 (file)
@@ -31,8 +31,6 @@
 #  Available options:
 #
 #    Environment variables:
-#      CPU             optimize for the given processor.
-#                      default = pentium
 #
 #    Targets:
 #      <file.exe>      build a specific file
 
 
 
-.PHONY : all
-.SUFFIXES : .c .o .exe
+.PHONY: all
+.SUFFIXES: .c .o .exe
+.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
@@ -63,8 +61,8 @@ LDLIBS = -lglut32 -lglu32 -lopengl32
 
 .c.o:
        $(CC) -o $@ $(CFLAGS) -c $<
-.o.exe:
-       $(LD) -o $@ $(LDFLAGS) $< $(LDLIBS)
+%.exe: ../util/readtex.o ../util/showbuffer.o %.o
+       $(LD) -o $@ $(LDFLAGS) $^ $(LDLIBS)
 
 all:
        $(error Must specify <filename.exe> to build)