[uClibc-cvs] CVS uClibc/librt

CVS User vapier vapier at codepoet.org
Tue Jan 18 23:29:01 UTC 2005


Update of /var/cvs/uClibc/librt
In directory nail:/tmp/cvs-serv19079

Modified Files:
	Makefile 
Log Message:
rework dependencies so the archive is re-created only when the object files have been updated

--- /var/cvs/uClibc/librt/Makefile	2005/01/11 09:41:40	1.1
+++ /var/cvs/uClibc/librt/Makefile	2005/01/18 23:29:00	1.2
@@ -4,7 +4,6 @@
 
 TOPDIR=../
 include $(TOPDIR)Rules.mak
-LIBC=$(TOPDIR)libc.a
 
 LIBRT=librt.a
 LIBRT_SHARED=librt.so
@@ -18,11 +17,9 @@
      timer_settime.c timer_gettime.c timer_getoverr.c
 OBJS=$(patsubst %.c,%.o, $(CSRC))
 
-all: $(OBJS) $(LIBC)
+all: $(LIBRT)
 
-$(LIBC): ar-target
-
-ar-target: $(OBJS)
+$(LIBRT) ar-target: $(OBJS)
 	$(AR) $(ARFLAGS) $(LIBRT) $(OBJS)
 	$(INSTALL) -d $(TOPDIR)lib
 	$(RM) $(TOPDIR)lib/$(LIBRT)



More information about the uClibc-cvs mailing list