diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 1369984..0000000 --- a/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/makefile.csm -/rain diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..11f1fc7 --- /dev/null +++ b/Makefile @@ -0,0 +1,19 @@ +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 deleted file mode 100644 index 738144f..0000000 --- a/makefile +++ /dev/null @@ -1,18 +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: - git clean -fdx - -.PHONY: install -install: - $(INSTALL) -sDm755 rain $(DESTDIR)$(PREFIX)/bin/rain