9os

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

Makefile (726B)


      1 .POSIX:
      2 PROJECTDIR =../../../../..
      3 include $(PROJECTDIR)/scripts/rules.mk
      4 include ../../../rules.mk
      5 
      6 OBJS  = _Exit.o \
      7         _close.o \
      8         _getpid.o \
      9         _kill.o \
     10         _lseek.o \
     11         _open.o \
     12         _sigaction.o \
     13         _read.o \
     14         _write.o \
     15         _brk.o \
     16         _getheap.o \
     17         _cerrno.o \
     18         _sigaction.o \
     19         _tzone.o \
     20         getenv.o \
     21         putenv.o \
     22         raise.o \
     23         signal.o \
     24         time.o \
     25         _sys_errlist.o \
     26         crt.o \
     27 
     28 all: syscall
     29 	$(MAKE) objs
     30 
     31 objs: $(OBJS)
     32 
     33 crt.o: ../crt-posix.s
     34 
     35 syscall: syscall.lst
     36 	./gensys.sh syscall.lst
     37 	touch syscall
     38 
     39 clean:
     40 	rm -f `awk '/[0-9]*	_/ {print $$2".s"}' syscall.lst`
     41 	rm -f syscall _sys_errlist.c