ifeq ("$(origin CC)", "default")
CC := cc
endif
+.ONESHELL:
+.SHELLFLAGS := -ec
PREFIX ?= /usr/local
M4 := m4
$(INSTALL) -m 644 lopsub.7 $(PREFIX)/man/man7
clean:
- $(RM) $(all) $(html) *.o *.man *.lsg.c *.lsg.h \
- lopsubgen.c config_file.c lopsubgen-stage1 \
+ $(RM) $(all) $(html) *.o *.man
+distclean: clean
+ $(RM) *.lsg.c *.lsg.h lopsubgen.c config_file.c lopsubgen-stage1 \
lopsub.h lopsub.7 lopsub-suite.5 version.c