summaryrefslogtreecommitdiffstats
path: root/progs/samples/Makefile.DJ
diff options
context:
space:
mode:
authorDaniel Borca <[email protected]>2005-01-31 13:23:55 +0000
committerDaniel Borca <[email protected]>2005-01-31 13:23:55 +0000
commitfc4cabbfa89154bce97fa1c076f4426cd6e55b68 (patch)
tree5b94cff3e3474b87edcb4b73b43b161ab1090129 /progs/samples/Makefile.DJ
parente61c8a5c6305d67ede3f69fd3ac83b3d196908ff (diff)
makefile update (readtex, showbuffer)
Diffstat (limited to 'progs/samples/Makefile.DJ')
-rw-r--r--progs/samples/Makefile.DJ9
1 files changed, 5 insertions, 4 deletions
diff --git a/progs/samples/Makefile.DJ b/progs/samples/Makefile.DJ
index 3d589ed73f3..557695a66cb 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)