diff options
| author | Simon Tatham <anakin@pobox.com> | 2000-11-22 20:05:33 +0000 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2000-11-22 20:05:33 +0000 |
| commit | cc04717cb665d50d6843d9760a5cddf584ba126e (patch) | |
| tree | 3fb1585a7936e64a94cfa05df36161697a02a4f1 | |
| parent | 95454a1a55874e1e3071c6363541493394f44eaf (diff) | |
| download | halibut-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-- | Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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 |