summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index f0a9b22..c6fb323 100644
--- a/Makefile
+++ b/Makefile
@@ -14,7 +14,7 @@ HDR =\
arg.h\
common.h
-all: makel
+all: makel check
$(OBJ): $(HDR)
.c.o:
@@ -23,6 +23,9 @@ $(OBJ): $(HDR)
makel: $(OBJ)
$(CC) -o $@ $(OBJ) $(LDFLAGS)
+check: makel
+ ./test
+
install: makel
mkdir -p -- "$(DESTDIR)$(PREFIX)/bin"
mkdir -p -- "$(DESTDIR)$(MANPREFIX)/man1/"
@@ -40,4 +43,4 @@ clean:
.SUFFIXES:
.SUFFIXES: .o .c
-.PHONY: all install uninstall clean
+.PHONY: all check install uninstall clean