utilbox depends on utilbox.h
This commit is contained in:
parent
4ea9db0b3e
commit
9e5119f600
1
Makefile
1
Makefile
|
@ -74,6 +74,7 @@ dist:
|
||||||
$(PACKAGE)-$(VERSION)/tools/utils.c \
|
$(PACKAGE)-$(VERSION)/tools/utils.c \
|
||||||
$(PACKAGE)-$(VERSION)/tools/Makefile \
|
$(PACKAGE)-$(VERSION)/tools/Makefile \
|
||||||
$(PACKAGE)-$(VERSION)/tools/utils.sh \
|
$(PACKAGE)-$(VERSION)/tools/utils.sh \
|
||||||
|
$(PACKAGE)-$(VERSION)/tools/utilbox.h \
|
||||||
$(PACKAGE)-$(VERSION)/tools/project.conf \
|
$(PACKAGE)-$(VERSION)/tools/project.conf \
|
||||||
$(PACKAGE)-$(VERSION)/Makefile \
|
$(PACKAGE)-$(VERSION)/Makefile \
|
||||||
$(PACKAGE)-$(VERSION)/COPYING \
|
$(PACKAGE)-$(VERSION)/COPYING \
|
||||||
|
|
|
@ -22,10 +22,10 @@ utilbox_LDFLAGS = $(LDFLAGSF) $(LDFLAGS)
|
||||||
utilbox: $(utilbox_OBJS)
|
utilbox: $(utilbox_OBJS)
|
||||||
$(CC) -o utilbox $(utilbox_OBJS) $(utilbox_LDFLAGS)
|
$(CC) -o utilbox $(utilbox_OBJS) $(utilbox_LDFLAGS)
|
||||||
|
|
||||||
utilbox.o: utilbox.c
|
utilbox.o: utilbox.c utilbox.h
|
||||||
$(CC) $(utilbox_CFLAGS) -c utilbox.c
|
$(CC) $(utilbox_CFLAGS) -c utilbox.c
|
||||||
|
|
||||||
utils.o: utils.c
|
utils.o: utils.c utilbox.h
|
||||||
$(CC) $(utilbox_CFLAGS) -c utils.c
|
$(CC) $(utilbox_CFLAGS) -c utils.c
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
|
|
|
@ -1,8 +1,14 @@
|
||||||
targets=utilbox
|
targets=utilbox
|
||||||
cflags_force=-W
|
cflags_force=-W
|
||||||
cflags=-Wall -g -O2 -pedantic
|
cflags=-Wall -g -O2 -pedantic
|
||||||
dist=Makefile,utils.sh
|
dist=Makefile,utils.sh,utilbox.h
|
||||||
|
|
||||||
[utilbox]
|
[utilbox]
|
||||||
type=binary
|
type=binary
|
||||||
sources=utilbox.c,utils.c
|
sources=utilbox.c,utils.c
|
||||||
|
|
||||||
|
[utilbox.c]
|
||||||
|
depends=utilbox.h
|
||||||
|
|
||||||
|
[utils.c]
|
||||||
|
depends=utilbox.h
|
||||||
|
|
Loading…
Reference in New Issue
Block a user