utilbox depends on utilbox.h

This commit is contained in:
Pierre Pronchery 2009-10-29 23:38:14 +00:00
parent 4ea9db0b3e
commit 9e5119f600
3 changed files with 10 additions and 3 deletions

View File

@ -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 \

View File

@ -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:

View File

@ -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