Updated dependencies on target.h and ../../config.h

This commit is contained in:
Pierre Pronchery 2008-06-09 00:20:54 +00:00
parent 241af9326b
commit 27009e6835
2 changed files with 8 additions and 2 deletions

View File

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

View File

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