diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -3,16 +3,25 @@ CFLAGS=-Wall -Wextra -Wpedantic -O3 -D_POSIX_C_SOURCE=200809L PREFIX=/usr/local BINDIR=$(PREFIX)/bin + all: nt + clean: rm -f nt + +test: all + @./test.sh + + install: all install -Dm755 nt -t $(DESTDIR)$(BINDIR)/ + uninstall: rm -f $(DESTDIR)$(BINDIR)/nt + .POSIX: -.PHONY: clean install uninstall +.PHONY: all clean test install uninstall |