diff options
Diffstat (limited to 'libc/misc/internals')
-rw-r--r-- | libc/misc/internals/Makefile | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/libc/misc/internals/Makefile b/libc/misc/internals/Makefile index 486cf8d55..23816b38d 100644 --- a/libc/misc/internals/Makefile +++ b/libc/misc/internals/Makefile @@ -29,12 +29,12 @@ COBJS=$(patsubst %.c,%.o, $(CSRC)) OBJS=$(COBJS) -all: $(OBJS) interp.o $(LIBC) +OBJ_LIST=../../obj.misc.internals -$(LIBC): interp.c ar-target +all: $(OBJ_LIST) interp.o -ar-target: $(OBJS) - $(AR) $(ARFLAGS) $(LIBC) $(OBJS) +$(OBJ_LIST): $(OBJS) + echo $(patsubst %, misc/internals/%, $(OBJS)) > $(OBJ_LIST) interp.c: Makefile echo "/* Force shared libraries to know about the correct library loader */" > interp.c @@ -54,4 +54,3 @@ $(COBJS): %.o : %.c clean: $(RM) *.[oa] interp.c *~ core - |