9os

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

Makefile (349B)


      1 .POSIX:
      2 PROJECTDIR=../..
      3 include $(PROJECTDIR)/scripts/rules.mk
      4 
      5 OBJS =\
      6 	doprnt.o\
      7 	kprint.o\
      8 	ksnprint.o\
      9 	kvprint.o\
     10 	kgets.o\
     11 	tokenize.o\
     12 	frombytes.o\
     13 	fromstring.o\
     14 	getline.o\
     15 	tobytes.o\
     16 	tostring.o\
     17 	kassert.o\
     18 	dirtop9.o\
     19 	p9todir.o\
     20 	dirstat.o\
     21 
     22 TARGET = $(LIBDIR)/libk.a
     23 
     24 all: $(TARGET)
     25 
     26 $(TARGET): $(OBJS)
     27 	$(SCRIPTDIR)/mklib -o $@ $?