From a946300e6c3502e32abf1c3059a73559abb2b227 Mon Sep 17 00:00:00 2001 From: Ziyao Date: Sun, 3 Apr 2022 10:30:37 +0800 Subject: [PATCH] Update Makefile --- Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index e8cc443..d7a4209 100644 --- a/Makefile +++ b/Makefile @@ -42,7 +42,9 @@ LDFLAGS = LDFLAGS_AUTO = LIBCC = -lgcc CPPFLAGS = -CFLAGS = +# XXX:For debug +# CFLAGS = +CFLAGS = -g CFLAGS_AUTO = -Os -pipe CFLAGS_C99FSE = -std=c99 -ffreestanding -nostdinc @@ -67,7 +69,9 @@ CRT_LIBS = $(addprefix lib/,$(notdir $(CRT_OBJS))) STATIC_LIBS = lib/libc.a SHARED_LIBS = lib/libc.so TOOL_LIBS = lib/musl-gcc.specs -ALL_LIBS = $(CRT_LIBS) $(STATIC_LIBS) $(SHARED_LIBS) $(EMPTY_LIBS) $(TOOL_LIBS) +# FIXME: libm & *.so +# ALL_LIBS = $(CRT_LIBS) $(STATIC_LIBS) $(SHARED_LIBS) $(EMPTY_LIBS) $(TOOL_LIBS) +ALL_LIBS = $(CRT_LIBS) $(STATIC_LIBS) $(EMPTY_LIBS) $(TOOL_LIBS) ALL_TOOLS = obj/musl-gcc WRAPCC_GCC = gcc