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 (460B) --- 1 .POSIX: 2 3 PROJECTDIR =../../../../.. 4 include $(PROJECTDIR)/scripts/rules.mk 5 include ../../../rules.mk 6 7 GENOBJS =\ 8 __close.$O\ 9 __exit.$O\ 10 __fork.$O\ 11 __getpid.$O\ 12 __kill.$O\ 13 __lseek.$O\ 14 __open.$O\ 15 __read.$O\ 16 __sigaction.$O\ 17 __write.$O\ 18 19 GENSRC = $(GENOBJS:.$O=.s) 20 21 OBJS =\ 22 $(GENOBJS)\ 23 _sys_errlist.$O\ 24 25 all: $(OBJS) $(CRT) 26 27 crt.$O: ../crt-posix.s 28 29 $(GENSRC): syscall.lst 30 ./gensys.sh $(@:.s=) 31 32 clean: 33 rm -f $(GENSRC) _sys_errlist.c 34 35 include deps.mk