9os

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

Makefile.drv (459B)


      1 .POSIX:
      2 PROJECTDIR=../../..
      3 include $(PROJECTDIR)/scripts/rules.mk
      4 include devs.mk
      5 include blobs.mk
      6 
      7 OBJS =\
      8 	dev.o\
      9 	devc.o \
     10 	$(DEVS) \
     11 	
     12 all: builtin.o
     13 
     14 builtin.o: $(OBJS)
     15 	$(LD) $(PROJ_LDFLAGS) -r -o $@ $(OBJS)
     16 
     17 devc.c: ../cfg/$(OS9)/kernel
     18 	./mkdevc ../cfg/$(OS9)/kernel
     19 
     20 blobfil.h: ../cfg/$(OS9)/kernel
     21 
     22 devroot.c: blobfil.h blobs.h
     23 
     24 blobs.h: ../cfg/$(OS9)/kernel
     25 	./mkblobh ../cfg/$(OS9)/kernel
     26 
     27 clean:
     28 	rm -f blobfil.h blobs.h blobs.mk devs.mk devc.c