diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1369984 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +/makefile.csm +/rain diff --git a/Makefile b/Makefile deleted file mode 100644 index 11f1fc7..0000000 --- a/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -CSM := csm -PREFIX := /usr/local -INSTALL := install - -.PHONY: all -all: Makefile.csm - $(MAKE) -f Makefile.csm - -Makefile.csm: - $(CSM) -makefile Makefile.csm - -.PHONY: clean -clean: Makefile.csm - $(MAKE) -f Makefile.csm clean - rm -f Makefile.csm rain - -.PHONY: install -install: - $(INSTALL) -sDm755 rain $(DESTDIR)$(PREFIX)/bin/rain diff --git a/makefile b/makefile new file mode 100644 index 0000000..738144f --- /dev/null +++ b/makefile @@ -0,0 +1,18 @@ +CSM := csm +PREFIX := /usr/local +INSTALL := install + +.PHONY: all +all: makefile.csm + $(MAKE) -f makefile.csm + +makefile.csm: + $(CSM) -makefile makefile.csm + +.PHONY: clean +clean: + git clean -fdx + +.PHONY: install +install: + $(INSTALL) -sDm755 rain $(DESTDIR)$(PREFIX)/bin/rain