X-Git-Url: http://git.subgeniuskitty.com/pdp11-unix-fusefs/.git/blobdiff_plain/845dfc673d1c2f936fae827d30f6352538db2820..47881a30aa3adc1f6193a3402a94efe0c5ef9ff0:/Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..733abf5 --- /dev/null +++ b/Makefile @@ -0,0 +1,25 @@ +# © 2020 Aaron Taylor +# See LICENSE.txt file for copyright and license details. + +PREFIX = $(HOME) +BINPREFIX = $(PREFIX)/bin + +CC = cc +CC_FLAGS = -std=c99 -I/usr/local/include + +all: v6fs + +v6fs: + @$(CC) $(CC_FLAGS) -o $@ v6.c unixfs.c + +install: bin2load + @mkdir -p $(BINPREFIX) + @cp ./v6fs $(BINPREFIX)/v6fs + @chmod +x $(BINPREFIX)/v6fs + +uninstall: + @rm $(BINPREFIX)/v6fs + +clean: + @rm -f v6fs v6fs.core +