diff options
author | Mattias Andrée <maandree@kth.se> | 2017-10-19 19:07:43 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2017-10-19 19:07:43 +0200 |
commit | f7fedd90fb3f7d3110f2ff976639c7f8ec51fbad (patch) | |
tree | b1099b364a4d3a1f90f8178b7a192c931a63bc29 /Makefile | |
parent | Simplify (diff) | |
download | xtest-f7fedd90fb3f7d3110f2ff976639c7f8ec51fbad.tar.gz xtest-f7fedd90fb3f7d3110f2ff976639c7f8ec51fbad.tar.bz2 xtest-f7fedd90fb3f7d3110f2ff976639c7f8ec51fbad.tar.xz |
Add test
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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 |