summaryrefslogtreecommitdiffstats
path: root/progs
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2004-03-26 20:31:05 +0000
committerBrian Paul <[email protected]>2004-03-26 20:31:05 +0000
commit46727c74964faa1e165be81cdbe61c6dbd105b4c (patch)
treec0e829cd551c8c77395dd79249fdb89dbcdfdaa9 /progs
parent7a5eb9a7606bd951cb9cba56b0ff96c121084d44 (diff)
Tweaks for make clean / realclean.
Diffstat (limited to 'progs')
-rw-r--r--progs/demos/Makefile3
-rw-r--r--progs/redbook/Makefile4
-rw-r--r--progs/samples/Makefile4
-rw-r--r--progs/xdemos/Makefile5
4 files changed, 3 insertions, 13 deletions
diff --git a/progs/demos/Makefile b/progs/demos/Makefile
index 85cde5b916a..ad0b47a2b9f 100644
--- a/progs/demos/Makefile
+++ b/progs/demos/Makefile
@@ -73,9 +73,6 @@ default: readtex.c readtex.h $(PROGS)
clean:
- -rm -f *.o *~
-
-realclean:
-rm -f $(PROGS)
-rm -f *.o *~
-rm -f readtex.[ch]
diff --git a/progs/redbook/Makefile b/progs/redbook/Makefile
index f4231081887..5fbfde2ca47 100644
--- a/progs/redbook/Makefile
+++ b/progs/redbook/Makefile
@@ -32,10 +32,8 @@ PROGS = aaindex aapoly aargb accanti accpersp alpha alpha3D anti \
default: $(PROGS)
-clean:
- -rm -f *.o *~
-realclean:
+clean:
-rm -f $(PROGS)
-rm -f *.o *~
diff --git a/progs/samples/Makefile b/progs/samples/Makefile
index 464492de732..cf651b25a9b 100644
--- a/progs/samples/Makefile
+++ b/progs/samples/Makefile
@@ -26,9 +26,7 @@ PROGS = accum bitmap1 bitmap2 blendeq blendxor copy cursor depth eval fog \
default: $(PROGS)
-clean:
- -rm -f *.o *~
-realclean:
+clean:
-rm -f $(PROGS)
-rm -f *.o *~
diff --git a/progs/xdemos/Makefile b/progs/xdemos/Makefile
index 0904ee3445a..6462c8ee206 100644
--- a/progs/xdemos/Makefile
+++ b/progs/xdemos/Makefile
@@ -6,7 +6,7 @@ include $(TOP)/configs/current
INCDIR = $(TOP)/include
-LIBS = -L$(LIB_DIR) $(APP_LIB_DEPS)
+LIBS = $(APP_LIB_DEPS)
LIB_DEP = $(LIB_DIR)/$(GL_LIB) $(LIB_DIR)/$(GLU_LIB)
@@ -44,9 +44,6 @@ default: $(PROGS)
clean:
- -rm -f *.o *~
-
-realclean:
-rm -f $(PROGS)
-rm -f *.o *~