openblt

a hobby OS from the late 90s
git clone http://frotz.net/git/openblt.git
Log | Files | Refs | LICENSE

Makefile (449B)


      1 BLTHOME := ../../
      2 include $(BLTHOME)make.conf
      3 
      4 MINIMAL = string.o snprintf.o strcmp.o strcpy.o strlen.o strlcat.o strlcpy.o
      5 EXTRA = malloc.o memory.o errno.o qsort.o stdlib.o ctype.o \
      6 	qsem.o atomic.o syscalls.o cppglue.o
      7 
      8 TARGETS		:= libkern.a
      9 LIBRARY		:= libc.a
     10 SHLIB		:= libc.so
     11 SHLIB_MAJOR	:= 1
     12 SHLIB_MINOR	:= 0
     13 OBJS		:= $(MINIMAL) $(EXTRA)
     14 
     15 libkern.a: $(MINIMAL)
     16 	@rm -f libkern.a
     17 	$(AR) r libkern.a $(MINIMAL)
     18 
     19 include $(BLTHOME)make.actions