diff --git a/contrib/C_Layer/EXAMPLE/libguic_kolibri/Makefile b/contrib/C_Layer/EXAMPLE/libguic_kolibri/Makefile index b6e9085ac9..65a3ff9338 100644 --- a/contrib/C_Layer/EXAMPLE/libguic_kolibri/Makefile +++ b/contrib/C_Layer/EXAMPLE/libguic_kolibri/Makefile @@ -6,9 +6,7 @@ SDK_DIR:= $(abspath ../../../sdk) CLAYER:= $(abspath ../../) LDFLAGS = -static -S -nostdlib -T $(SDK_DIR)/sources/newlib/app.lds \ - --image-base 0 -lgcc /home/autobuild/tools/win32/lib/libdll.a\ - /home/autobuild/tools/win32/lib/libc.dll.a\ - /home/autobuild/tools/win32/lib/libapp.a + --image-base 0 -lgcc -ldll -lc.dll -lapp CFLAGS = -g -U_Win32 -U_WIN32 -U__MINGW32__ @@ -24,7 +22,7 @@ OBJECTS = $(patsubst %.c, %.o, $(SOURCES)) all:$(NAME) $(NAME): $(OBJECTS) Makefile - $(LD) $(LIBPATH) -o $@ $(OBJECTS) $(OBJPATH)/loadboxlib.obj $(LDFLAGS) + $(LD) $(LIBPATH) --subsystem native -o $@ $(OBJECTS) $(OBJPATH)/loadboxlib.obj $(LDFLAGS) #-ldll -lc.dll -lapp -Map $(NAME).map kos32-objcopy $@ -O binary