Commits

Anonymous committed b9deaf1

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...

Comments (0)

Files changed (1)

 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