diff --git a/Makefile b/Makefile index 524db11..b981306 100644 --- a/Makefile +++ b/Makefile @@ -74,6 +74,7 @@ dist: $(PACKAGE)-$(VERSION)/tools/utils.c \ $(PACKAGE)-$(VERSION)/tools/Makefile \ $(PACKAGE)-$(VERSION)/tools/utils.sh \ + $(PACKAGE)-$(VERSION)/tools/utilbox.h \ $(PACKAGE)-$(VERSION)/tools/project.conf \ $(PACKAGE)-$(VERSION)/Makefile \ $(PACKAGE)-$(VERSION)/COPYING \ diff --git a/tools/Makefile b/tools/Makefile index 1be655f..251a125 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -22,10 +22,10 @@ utilbox_LDFLAGS = $(LDFLAGSF) $(LDFLAGS) utilbox: $(utilbox_OBJS) $(CC) -o utilbox $(utilbox_OBJS) $(utilbox_LDFLAGS) -utilbox.o: utilbox.c +utilbox.o: utilbox.c utilbox.h $(CC) $(utilbox_CFLAGS) -c utilbox.c -utils.o: utils.c +utils.o: utils.c utilbox.h $(CC) $(utilbox_CFLAGS) -c utils.c clean: diff --git a/tools/project.conf b/tools/project.conf index c02cf6d..fc3a8db 100644 --- a/tools/project.conf +++ b/tools/project.conf @@ -1,8 +1,14 @@ targets=utilbox cflags_force=-W cflags=-Wall -g -O2 -pedantic -dist=Makefile,utils.sh +dist=Makefile,utils.sh,utilbox.h [utilbox] type=binary sources=utilbox.c,utils.c + +[utilbox.c] +depends=utilbox.h + +[utils.c] +depends=utilbox.h