From 27009e6835ecba057b04b9a6c8a2e60f9dfcde39 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Mon, 9 Jun 2008 00:20:54 +0000 Subject: [PATCH] Updated dependencies on target.h and ../../config.h --- src/target/Makefile | 4 ++-- src/target/project.conf | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/target/Makefile b/src/target/Makefile index 0788687..f3c9fd6 100644 --- a/src/target/Makefile +++ b/src/target/Makefile @@ -36,10 +36,10 @@ graph.a: $(graph_OBJS) graph.so: $(graph_OBJS) $(LD) -o graph.so $(graph_OBJS) -as.o: as.c +as.o: as.c target.h ../../config.h $(CC) $(as_CFLAGS) -c as.c -graph.o: graph.c +graph.o: graph.c target.h $(CC) $(graph_CFLAGS) -c graph.c clean: diff --git a/src/target/project.conf b/src/target/project.conf index 77cd74d..1777d5a 100644 --- a/src/target/project.conf +++ b/src/target/project.conf @@ -9,7 +9,13 @@ sources=as.c ldflags=-L $(LIBDIR) -Wl,-rpath $(LIBDIR) -l as install=$(LIBDIR)/c99/target +[as.c] +depends=target.h,../../config.h + [graph] type=library sources=graph.c install=$(LIBDIR)/c99/target + +[graph.c] +depends=target.h