CPM:=cpm
-all:
+.PHONY: man
+
+all: spl
+
+man: spl.1
+
+spl: spl.icl lex.icl lex.dcl parse.icl parse.dcl spl.prj
$(CPM) make
+%.1: %
+ help2man -s 1 -N -o $@ ./$<
+
clean:
- $(RM) -rv Clean\ System\ Files sapl main
+ $(RM) -rv Clean\ System\ Files spl spl.1