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 $@