From 1d995e8c33d35826d53c528029182b17aecaf3e5 Mon Sep 17 00:00:00 2001 From: Serhii Sakhno Date: Thu, 21 Jul 2016 20:05:36 +0000 Subject: [PATCH] fixed makefile for example git-svn-id: svn://kolibrios.org@6463 a494cfbc-eb01-0410-851d-a64ba20cac60 --- contrib/C_Layer/EXAMPLE/libguic_kolibri/Makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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