# © 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