diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-30 15:28:37 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-30 15:28:37 -0700 |
commit | b9deaf1bd83c0f04090faa97f1f945236a589e51 (patch) | |
tree | 08ea40dea3b2d52177a9a40a86537eba69d6f226 | |
parent | 435dd32ae2d9a5543318e5c4b5d29de672cae1b5 (diff) | |
download | uemacs-b9deaf1bd83c0f04090faa97f1f945236a589e51.tar.gz |
Very optimistically add a "sparse" makefile target.
Since sparse really wants clean ANSI C, we're not even _remotely_ close
to being sparse-clean. But maybe some day...
-rw-r--r-- | makefile | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -33,6 +33,12 @@ LIBDIR=/usr/lib em: ${OBJ} ${CC} ${DEFINES} -o em ${OBJ} ${LIBS} +SPARSE=sparse +SPARSE_FLAGS=-D__BIG_ENDIAN__ -D__ppc__ -D__linux__ -D__unix__ + +sparse: + for i in $(SRC); do $(SPARSE) $(SPARSE_FLAGS) $(DEFINES) $$i; done + clean: rm -f core lintout makeout tags makefile.bak *.o |