From ff0fc0158ea25bb00de95dbfffa4de62ba810c3d Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Sat, 14 Jul 2012 21:35:36 +0000 Subject: [PATCH] Fixed dependencies --- src/Makefile | 4 ++-- src/project.conf | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/Makefile b/src/Makefile index d743287..0195084 100644 --- a/src/Makefile +++ b/src/Makefile @@ -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: diff --git a/src/project.conf b/src/project.conf index b3e207e..d14a030 100644 --- a/src/project.conf +++ b/src/project.conf @@ -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