From 451560809c7478af782b9675d03406f221021eb0 Mon Sep 17 00:00:00 2001 From: Aki Date: Sat, 30 Mar 2024 19:51:14 +0100 Subject: Add quick spec tests --- Makefile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 73f8388..ebe2e2d 100644 --- a/Makefile +++ b/Makefile @@ -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 -- cgit v1.1