libk  Diff

Differences From Artifact [2a47be36e1]:

To Artifact [ac03aab83b]:


    92     92   $(OUT)/libk.so: $(fnobjects) 
    93     93   	ld -shared $(COMPLIB) -o $@ $^
    94     94   	@# $(CC) -shared -fPIC -nostdlib $(COMPLIB) -o $@ $(OUT)/*.o
    95     95   
    96     96   $(OUT)/boot.o: $(rtobjects)
    97     97   	ld -r $^ -o $(OUT)/boot.o
    98     98   
    99         -$(OUT)/libk.a: $(fnobjects) $(rtobjects) obj $(OUT)
           99  +$(OUT)/libk.a: $(fnobjects) $(rtobjects)
   100    100   	@# using `ar rc` and ranlib here instead of
   101    101   	@# `ar rcs` in case `ar` isn't the GNU version
   102         -	ar rc $@ $(OUT)/*.o
          102  +	ar rc $@ $^
   103    103   	ranlib $@
   104    104   
   105    105   $(OUT) $(OUT)/k:
   106    106   	mkdir -p $@