aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 62a0f76..9cc8113 100644
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,7 @@
CONFIGFILE = config.mk
include $(CONFIGFILE)
-all: xtest
+all: xtest mksocket
.o:
$(CC) -o $@ $^ $(LDFLAGS)
@@ -13,6 +13,9 @@ all: xtest
xtest.o: arg.h
+check: xtest mksocket
+ ./test
+
install: xtest
mkdir -p -- "$(DESTDIR)$(PREFIX)/bin"
mkdir -p -- "$(DESTDIR)$(MANPREFIX)/man1"
@@ -27,7 +30,7 @@ uninstall:
-rm -rf -- "$(DESTDIR)$(PREFIX)/share/licenses/xtest"
clean:
- -rm -f -- xtest *.o
+ -rm -rf -- xtest mksocket *.o .testdir
.SUFFIXES: .o .c.o