add arg.h and util.h to Makefile
authorMarkus Teich <markus.teich@stusta.mhn.de>
Sat, 19 Nov 2016 23:59:19 +0000 (00:59 +0100)
committerMarkus Teich <markus.teich@stusta.mhn.de>
Sun, 20 Nov 2016 00:01:47 +0000 (01:01 +0100)
Makefile

index 8b3e248..f4ffbb7 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -18,7 +18,7 @@ options:
        @echo CC $<
        @${CC} -c ${CFLAGS} $<
 
-${OBJ}: config.h config.mk
+${OBJ}: config.h config.mk arg.h util.h
 
 config.h:
        @echo creating $@ from config.def.h
@@ -35,8 +35,8 @@ clean:
 dist: clean
        @echo creating dist tarball
        @mkdir -p slock-${VERSION}
-       @cp -R LICENSE Makefile README config.def.h config.mk ${SRC} \
-               explicit_bzero.c slock.1 slock-${VERSION}
+       @cp -R LICENSE Makefile README slock.1 config.mk \
+               ${SRC} explicit_bzero.c config.def.h arg.h util.h slock-${VERSION}
        @tar -cf slock-${VERSION}.tar slock-${VERSION}
        @gzip slock-${VERSION}.tar
        @rm -rf slock-${VERSION}