diff options
author | Daniel Borca <dborca@users.sourceforge.net> | 2005-01-31 13:23:55 +0000 |
---|---|---|
committer | Daniel Borca <dborca@users.sourceforge.net> | 2005-01-31 13:23:55 +0000 |
commit | fc4cabbfa89154bce97fa1c076f4426cd6e55b68 (patch) | |
tree | 5b94cff3e3474b87edcb4b73b43b161ab1090129 /progs | |
parent | e61c8a5c6305d67ede3f69fd3ac83b3d196908ff (diff) | |
download | external_mesa3d-fc4cabbfa89154bce97fa1c076f4426cd6e55b68.zip external_mesa3d-fc4cabbfa89154bce97fa1c076f4426cd6e55b68.tar.gz external_mesa3d-fc4cabbfa89154bce97fa1c076f4426cd6e55b68.tar.bz2 |
makefile update (readtex, showbuffer)
Diffstat (limited to 'progs')
-rw-r--r-- | progs/samples/Makefile.DJ | 9 | ||||
-rw-r--r-- | progs/samples/Makefile.mgw | 9 |
2 files changed, 10 insertions, 8 deletions
diff --git a/progs/samples/Makefile.DJ b/progs/samples/Makefile.DJ index 3d589ed..557695a 100644 --- a/progs/samples/Makefile.DJ +++ b/progs/samples/Makefile.DJ @@ -49,8 +49,9 @@ -.PHONY : all -.SUFFIXES : .c .o .exe +.PHONY: all +.SUFFIXES: .c .o .exe +.SECONDARY: ../util/readtex.o ../util/showbuffer.o TOP = ../.. CPU ?= pentium @@ -80,8 +81,8 @@ endif .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) diff --git a/progs/samples/Makefile.mgw b/progs/samples/Makefile.mgw index 40d4aaf..54dbfb7 100644 --- a/progs/samples/Makefile.mgw +++ b/progs/samples/Makefile.mgw @@ -40,8 +40,9 @@ -.PHONY : all -.SUFFIXES : .c .o .exe +.PHONY: all +.SUFFIXES: .c .o .exe +.SECONDARY: ../util/readtex.o ../util/showbuffer.o TOP = ../.. CPU ?= pentium @@ -63,8 +64,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) |