summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2000-11-22 20:05:33 +0000
committerSimon Tatham <anakin@pobox.com>2000-11-22 20:05:33 +0000
commitcc04717cb665d50d6843d9760a5cddf584ba126e (patch)
tree3fb1585a7936e64a94cfa05df36161697a02a4f1
parent95454a1a55874e1e3071c6363541493394f44eaf (diff)
downloadhalibut-cc04717cb665d50d6843d9760a5cddf584ba126e.zip
halibut-cc04717cb665d50d6843d9760a5cddf584ba126e.tar.gz
halibut-cc04717cb665d50d6843d9760a5cddf584ba126e.tar.bz2
halibut-cc04717cb665d50d6843d9760a5cddf584ba126e.tar.xz
Add "make spotless" to Makefile
[originally from svn r809]
-rw-r--r--Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8253d03..e32fd5e 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@
# Requires a compiler with -MD support, currently
-# `make' from top level will build in buttress.b
+# `make' from top level will build in directory `build'
# `make BUILDDIR=foo' from top level will build in directory foo
ifndef REALBUILD
ifndef BUILDDIR
@@ -15,6 +15,9 @@ endif
all:
@test -d $(BUILDDIR) || mkdir $(BUILDDIR)
@make -C $(BUILDDIR) -f ../Makefile REALBUILD=yes
+spotless:
+ @test -d $(BUILDDIR) || mkdir $(BUILDDIR)
+ @make -C $(BUILDDIR) -f ../Makefile spotless REALBUILD=yes
clean:
@test -d $(BUILDDIR) || mkdir $(BUILDDIR)
@make -C $(BUILDDIR) -f ../Makefile clean REALBUILD=yes
@@ -64,6 +67,9 @@ buttress: $(OBJECTS)
version.o: FORCE
$(CC) $(VDEF) -MD -c $(SRC)version.c
+spotless:: clean
+ rm -f *.d
+
clean::
rm -f *.o buttress core