diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4d12c23 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +kterm +kterm.kpack +kterm-*.gz diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..9f5fcf6 --- /dev/null +++ b/Makefile @@ -0,0 +1,21 @@ +VER=$(shell git describe --tags --abbrev=0) +FASM=fasm +KPACK=../kpack/linux/kpack +PKGFILES=kterm kterm.kpack CHANGELOG.md README.md screenshot.png +PKGNAME=kterm-$(VER).tar.gz + +.PHONY: clean all + +all: $(PKGNAME) + +clean: + rm -f kterm kterm.kpack $(PKGNAME) + +kterm: kterm.asm + $(FASM) $^ $@ + +kterm.kpack: kterm + $(KPACK) $^ $@ + +$(PKGNAME): $(PKGFILES) + tar czf $@ $^