diff options
Diffstat (limited to 'libc/misc/assert')
-rw-r--r-- | libc/misc/assert/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libc/misc/assert/Makefile b/libc/misc/assert/Makefile index cfd469c14..57a2c0154 100644 --- a/libc/misc/assert/Makefile +++ b/libc/misc/assert/Makefile @@ -28,12 +28,12 @@ CSRC=__assert.c COBJS=$(patsubst %.c,%.o, $(CSRC)) OBJS=$(COBJS) -all: $(LIBC) +OBJ_LIST=../../obj.misc.assert -$(LIBC): ar-target +all: $(OBJ_LIST) -ar-target: $(OBJS) - $(AR) $(ARFLAGS) $(LIBC) $(OBJS) +$(OBJ_LIST): $(OBJS) + echo $(patsubst %, misc/assert/%, $(OBJS)) > $(OBJ_LIST) $(COBJS): %.o : %.c $(CC) $(CFLAGS) -c $< -o $@ |