X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=Makefile;h=6b53e08d2a6a0e697cfc6cbbcd10206bb291e83d;hb=a8130cb2a970f385a7da0e2a8f7b02c1cb1a7639;hp=3f8aeff6a9473d8cc0d00397a9eb70237c9aed55;hpb=19c5f39c61f1692641570dc3cf13360e7dff5cdf;p=cc1516.git diff --git a/Makefile b/Makefile index 3f8aeff..6b53e08 100644 --- a/Makefile +++ b/Makefile @@ -1,14 +1,14 @@ -CLM:=clm -CLMFLAGS:=-b -nt +CPM:=cpm -BINARIES:=lex +.PHONY: man -.PHONY: all clean +all: spl spl.1 -all: $(BINARIES) +spl: spl.icl lex.icl lex.dcl parse.icl parse.dcl spl.prj + $(CPM) make -%: %.icl - $(CLM) $(CLMFLAGS) $(basename $<) -o $@ +%.1: % + help2man -s 1 -N -o $@ ./$< clean: - $(RM) -rv $(BINARIES) Clean\ System\ Files + $(RM) -rv Clean\ System\ Files spl spl.1