Home
       Makefile - scc - simple c99 compiler
  HTML git clone git://git.simple-cc.org/scc
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
   DIR README
   DIR LICENSE
       ---
       Makefile (527B)
       ---
            1 .POSIX:
            2 
            3 PROJECTDIR =../../../../..
            4 include $(PROJECTDIR)/scripts/rules.mk
            5 include ../../../rules.mk
            6 
            7 GENOBJS =\
            8         _access.$O\
            9         _close.$O\
           10         _execve.$O\
           11         _exit.$O\
           12         _fork.$O\
           13         _getpid.$O\
           14         _kill.$O\
           15         _lseek.$O\
           16         _open.$O\
           17         _read.$O\
           18         _rename.$O\
           19         _sigaction.$O\
           20         _sys_brk.$O\
           21         _write.$O\
           22         _wait4.$O\
           23 
           24 GENSRC = $(GENOBJS:.$O=.s)
           25 
           26 OBJS =\
           27         $(GENOBJS)\
           28         _cerrno.$O\
           29         _sys_errlist.$O\
           30 
           31 all: $(OBJS) $(CRT)
           32 
           33 crt.$O: ../crt-posix.s
           34 
           35 $(GENSRC): syscall.lst
           36         ./gensys.sh $(@:.s=)
           37 
           38 clean:
           39         rm -f $(GENSRC) _sys_errlist.c
           40 
           41 include deps.mk