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