mirror of
https://github.com/rfivet/uemacs.git
synced 2024-12-18 23:36:23 -05:00
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...
This commit is contained in:
parent
435dd32ae2
commit
b9deaf1bd8
6
makefile
6
makefile
@ -33,6 +33,12 @@ LIBDIR=/usr/lib
|
|||||||
em: ${OBJ}
|
em: ${OBJ}
|
||||||
${CC} ${DEFINES} -o em ${OBJ} ${LIBS}
|
${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:
|
clean:
|
||||||
rm -f core lintout makeout tags makefile.bak *.o
|
rm -f core lintout makeout tags makefile.bak *.o
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user