diff options
| author | Linus Torvalds <torvalds@home.transmeta.com> | 2003-06-10 16:52:28 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-07 21:00:51 -0700 |
| commit | 33d6edbdc44d3cc088f59f6fd2440fd601d56e84 (patch) | |
| tree | a41d1c86e1e1404f1ee94cd8088d16ca400ab4ec /Makefile | |
| parent | faf1db90d395f3b7bbe2b02fde0e5b1d98a4955a (diff) | |
| download | sparse-dev-33d6edbdc44d3cc088f59f6fd2440fd601d56e84.tar.gz | |
Install the kernel source checker as "sparse" in /usr/local/bin.
Calling it "check" is just too generic a name if we install it
somewhere global.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -2,6 +2,7 @@ CC=gcc CFLAGS=-g -Wall AR=ar +PREFIX=/usr/local PROGRAMS=test-lexing test-parsing obfuscate check LIB_H= token.h parse.h lib.h symbol.h scope.h expression.h target.h @@ -13,6 +14,14 @@ LIB_FILE= sparse.a all: $(PROGRAMS) +# +# Install the 'check' binary as 'sparse', just to confuse people. +# +# "The better to keep you on your toes, my dear". +# +install: check + install -C check $(PREFIX)/bin/sparse + test-lexing: test-lexing.o $(LIB_FILE) gcc -o $@ $< $(LIB_FILE) |
