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