ref: 8cd311e6ab6c87983620397b63d120957d540d3c
dir: /src/libc/rules.mk/
CINCLUDES =\ -I$(INCDIR)\ -I$(INCDIR)/bits/$(SYS)\ -I$(INCDIR)/bits/$(ARCH)\ -I$(INCDIR)/bits/$(SYS)/$(ARCH)\ MORE_ARFLAGS = -u MORE_CFLAGS = $(TOOL_LIBC_CFLAGS) $(NOPIE_CFLAGS) SYSERRNO = $(INCDIR)/bits/$(SYS)/sys/errno.h LIBC = $(LIBCDIR)/libc.a CRT = $(LIBCDIR)/crt.o # Rules .SUFFIXES: .6 .7 .8 .z .q .6d _sys_errlist.c: $(SYSERRNO) ../../mkerrstr $(SYSERRNO) $(CRT): crt.$O cp crt.$O $@ clean: clean-libc clean-libc: FORCE rm -f *.6d *.6 *.7 *.8 *.z *.q # amd64-posix objects .c.6: $(CC) $(PROJ_CFLAGS) -o $@ -c $< .s.6: $(AS) $(PROJ_ASFLAGS) $< -o $@ # amd64-darwin objects .c.6d: $(CC) $(PROJ_CFLAGS) -o $@ -c $< .s.6d: $(AS) $(PROJ_ASFLAGS) $< -o $@ # arm64-posix objects .c.7: $(CC) $(PROJ_CFLAGS) -o $@ -c $< .s.7: $(AS) $(PROJ_ASFLAGS) $< -o $@ # 386-posix objects .c.8: $(CC) $(PROJ_CFLAGS) -o $@ -c $< .s.8: $(AS) $(PROJ_ASFLAGS) $< -o $@ # z80 objects .c.z: $(CC) $(PROJ_CFLAGS) -o $@ -c $< .s.z: $(AS) $(PROJ_ASFLAGS) $< -o $@ # ppc32 objects .c.q: $(CC) $(PROJ_CFLAGS) -o $@ -c $< .s.q: $(AS) $(PROJ_ASFLAGS) $< -o $@