summaryrefslogtreecommitdiff
path: root/libc/signal
diff options
context:
space:
mode:
Diffstat (limited to 'libc/signal')
-rw-r--r--libc/signal/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/libc/signal/Makefile b/libc/signal/Makefile
index 28d87a77e..2ce6216e9 100644
--- a/libc/signal/Makefile
+++ b/libc/signal/Makefile
@@ -28,12 +28,12 @@ COBJS=$(patsubst %.c,%.o, $(CSRC))
OBJS=$(COBJS)
-all: $(OBJS) $(LIBC)
+OBJ_LIST=../obj.signal
-$(LIBC): ar-target
+all: $(OBJ_LIST)
-ar-target: $(OBJS)
- $(AR) $(ARFLAGS) $(LIBC) $(OBJS)
+$(OBJ_LIST): $(OBJS)
+ echo $(patsubst %, signal/%, $(OBJS)) > $(OBJ_LIST)
$(COBJS): %.o : %.c
$(CC) $(CFLAGS) -c $< -o $@