9os

Experimental kernel using plan9 ideas for embedded device
git clone git://git.simple-cc.org/9os
Log | Files | Refs | README | LICENSE

Makefile.libc (307B)


      1 .POSIX:
      2 PROJECTDIR =../..
      3 include $(PROJECTDIR)/scripts/rules.mk
      4 include rules.mk
      5 include objlst.mk
      6 
      7 LIBC   = $(LIBDIR)/libc.a
      8 CRT    = $(LIBDIR)/crt.o
      9 TARGET = $(LIBC) $(CRT)
     10 
     11 all: $(TARGET)
     12 
     13 $(LIBC): $(OBJS)
     14 	$(SCRIPTDIR)/mklib -o $@ $?
     15 
     16 $(CRT): arch/$(ARCH)/$(SYS)/crt.o
     17 	cp arch/$(ARCH)/$(SYS)/crt.o $@