diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-06-30 22:34:00 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-06-30 22:34:00 +0000 |
commit | 8dae092bd98e9012874afe684c9b88b3ba0281da (patch) | |
tree | e11358c7bfc5b3cc3335d99dcce5d873c3d63f1d | |
parent | 59cc1e9342e9782cc4d999a2b0649dccdcfd2c6c (diff) |
if the include files get updated we want to rebuild
-rw-r--r-- | ldso/ldso/Makefile | 2 | ||||
-rw-r--r-- | ldso/libdl/Makefile | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/ldso/ldso/Makefile b/ldso/ldso/Makefile index f2707d820..c304b0344 100644 --- a/ldso/ldso/Makefile +++ b/ldso/ldso/Makefile @@ -83,7 +83,7 @@ $(LDSO_FULLNAME): $(OBJS) $(DLINK_OBJS) $(INSTALL) -m 755 $(LDSO_FULLNAME) $(TOPDIR)lib $(LN) -sf $(LDSO_FULLNAME) $(TOPDIR)lib/$(UCLIBC_LDSO) -$(COBJS): %.o : %.c +$(COBJS): %.o : %.c $(TOPDIR)ldso/include/*.h $(CC) $(XXFLAGS) -I../libdl -c $< -o $@ $(STRIPTOOL) -x -R .note -R .comment $*.o diff --git a/ldso/libdl/Makefile b/ldso/libdl/Makefile index a692a68bb..cced47909 100644 --- a/ldso/libdl/Makefile +++ b/ldso/libdl/Makefile @@ -62,11 +62,11 @@ $(LIBDL): $(OBJS) $(LIBDL_PIC): $(PIC_OBJS) $(AR) $(ARFLAGS) $(LIBDL_PIC) $(PIC_OBJS) -libdl.o: libdl.c +libdl.o: libdl.c $(TOPDIR)ldso/include/*.h $(CC) $(XXFLAGS_NOPIC) -c libdl.c -o libdl.o $(STRIPTOOL) -x -R .note -R .comment $*.o -libdl_pic.o: libdl.c +libdl_pic.o: libdl.c ../include/*.h $(CC) $(XXFLAGS) -c libdl.c -o libdl_pic.o $(STRIPTOOL) -x -R .note -R .comment $*.o |