CXXFLAGS += -Wall -Werror -Wextra\r
ASFLAGS +=\r
LDFLAGS += -nostdlib\r
-PRELINK := $(CRTI) $(CRTBEGIN) $(OUTPUTDIR)/Libs/crt0S.o\r
-LIBS += -lc $(LIBGCC_PATH) $(CRTEND) $(CRTN)\r
+PRELINK := $(CRTI) $(CRTBEGINS) $(CRT0S)\r
+LIBS += -lc $(LIBGCC_PATH) $(CRTENDS) $(CRTN)\r
USE_CXX_LINK := yes\r
\r
OBJ = misc.o new.o guard.o cxxabi.o typeinfo.o\r
CFLAGS += -nostdlib -Wall -Werror -Wextra\r
ASFLAGS +=\r
LDFLAGS += -nostdlib\r
-PRELINK := $(CRTI) $(CRTBEGIN) $(OUTPUTDIR)/Libs/crt0S.o\r
-LIBS += $(LIBGCC_PATH) $(CRTEND) $(CRTN)\r
+PRELINK := $(CRTI) $(CRTBEGINS) $(CRTS)\r
+LIBS += $(LIBGCC_PATH) $(CRTENDS) $(CRTN)\r
\r
INCFILES := stdio.h stdlib.h\r
\r
CFLAGS += -Wextra\r
ASFLAGS +=\r
LDFLAGS += -nostdlib\r
-PRELINK += $(CRTI) $(CRTBEGIN) $(CRT0S)\r
-LIBS += -lc $(CRTEND) $(CRTN)\r
+PRELINK += $(CRTI) $(CRTBEGINS) $(CRT0S)\r
+LIBS += -lc $(CRTENDS) $(CRTN)\r
\r
OBJ = main.o unistd.o dirent.o stat.o utmpx.o termios.o\r
OBJ += pwd.o syslog.o sys_time.o sys_ioctl.o sys_resource.o\r