ref: ee56849c612b6cb6ee27e6f647254967ebdd6981
dir: /src/libc/arch/amd64/openbsd/Makefile/
.POSIX: PROJECTDIR =../../../../.. include $(PROJECTDIR)/scripts/rules.mk include ../../../rules.mk GENOBJS =\ _brk.$O\ _close.$O\ _exit.$O\ _getpid.$O\ _kill.$O\ _lseek.$O\ _open.$O\ _read.$O\ _sigaction2.$O\ _write.$O\ GENSRC = $(GENOBJS:.$O=.s) OBJS =\ $(GENOBJS)\ _sys_errlist.$O\ all: $(LIBC) $(CRT) $(LIBC): $(OBJS) $(MKLST) crt.$O: ../crt-posix.s ../openbsd/crt.s $(GENSRC): syscall.lst ./gensys.sh $(@:.s=) clean: rm -f $(GENSRC) rm -f syscall _sys_errlist.c include deps.mk