Fixed dependencies

This commit is contained in:
Pierre Pronchery 2012-07-14 21:35:36 +00:00
parent acd0fd3189
commit ff0fc0158e
2 changed files with 5 additions and 2 deletions

View File

@ -8,7 +8,7 @@ CPPFLAGS?=
CFLAGSF = -W `pkg-config --cflags libParser libDesktop`
CFLAGS = -Wall -g -O2 -pedantic
LDFLAGSF= `pkg-config --libs libParser libDesktop`
LDFLAGS =
LDFLAGS =
RM ?= rm -f
LN ?= ln -f
MKDIR ?= mkdir -p
@ -30,7 +30,7 @@ callbacks.o: callbacks.c callbacks.h xmleditor.h
xmleditor.o: xmleditor.c callbacks.h xmleditor.h ../config.h
$(CC) $(xmleditor_CFLAGS) -c xmleditor.c
main.o: main.c
main.o: main.c xmleditor.h ../config.h
$(CC) $(xmleditor_CFLAGS) -c main.c
clean:

View File

@ -14,5 +14,8 @@ install=$(BINDIR)
[callbacks.c]
depends=callbacks.h,xmleditor.h
[main.c]
depends=xmleditor.h,../config.h
[xmleditor.c]
depends=callbacks.h,xmleditor.h,../config.h