distclean config.log
[dhcpcd-ui] / mk / prog.mk
index 7844bfa2d33b6e28173c2b60ac22d0a844439e64..25eebd0e9e0c444d9db754ee512f0034d4f23498 100644 (file)
@@ -6,7 +6,7 @@
 SRCS?=         ${PROG}.c
 OBJS+=         ${SRCS:.c=.o}
 
-all: ${PROG} ${SCRIPTS}
+all: ${PROG} ${SCRIPTS} ${FILES}
 
 .c.o:
        ${CC} ${CFLAGS} ${CPPFLAGS} -c $< -o $@
@@ -14,16 +14,15 @@ all: ${PROG} ${SCRIPTS}
 ${PROG}: .depend ${OBJS}
        ${CC} ${LDFLAGS} -o $@ ${OBJS} ${LDADD}
 
-_proginstall: ${PROG}
+proginstall: ${PROG}
        ${INSTALL} -d ${DESTDIR}${BINDIR}
        ${INSTALL} -m ${BINMODE} ${PROG} ${DESTDIR}${BINDIR}
 
 include ${MKDIR}/sys.mk
 include ${MKDIR}/depend.mk
-include ${MKDIR}/files.mk
 include ${MKDIR}/man.mk
 
-install: _proginstall _filesinstall _maninstall
+install: proginstall ${FILESINSTALL} _maninstall
 
 clean:
        rm -f ${OBJS} ${PROG} ${PROG}.core ${CLEANFILES}