From f7fedd90fb3f7d3110f2ff976639c7f8ec51fbad Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 19 Oct 2017 19:07:43 +0200 Subject: Add test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3-70-g09d2