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