From 17e7367bdd04b306bfbd2876a7b2e922d94fa7c9 Mon Sep 17 00:00:00 2001 From: "Sergey Semyonov (Serge)" Date: Mon, 18 Jan 2016 17:18:06 +0000 Subject: [PATCH] cairo sample: update makefiles git-svn-id: svn://kolibrios.org@6075 a494cfbc-eb01-0410-851d-a64ba20cac60 --- contrib/sdk/samples/cairo/Makefile | 2 +- contrib/sdk/samples/cairo/Makefile.static | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/sdk/samples/cairo/Makefile b/contrib/sdk/samples/cairo/Makefile index 544f8d9676..40add9d7ce 100644 --- a/contrib/sdk/samples/cairo/Makefile +++ b/contrib/sdk/samples/cairo/Makefile @@ -19,7 +19,7 @@ OBJECTS = $(patsubst %.c, %.o, $(SOURCES)) default: cairo cairo: $(OBJECTS) Makefile - $(LD) $(LDFLAGS) $(LIBPATH) -Map cairo.map -o cairo $(OBJECTS) -lcairo2.dll -lgcc -lc.dll -lapp + $(LD) $(LDFLAGS) $(LIBPATH) --subsystem native -Map cairo.map -o cairo $(OBJECTS) -lcairo2.dll -lgcc -lc.dll -lapp objcopy cairo -O binary %.o : %.c Makefile $(SOURCES) diff --git a/contrib/sdk/samples/cairo/Makefile.static b/contrib/sdk/samples/cairo/Makefile.static index cad496945d..1b8667545e 100644 --- a/contrib/sdk/samples/cairo/Makefile.static +++ b/contrib/sdk/samples/cairo/Makefile.static @@ -19,7 +19,7 @@ OBJECTS = $(patsubst %.c, %.o, $(SOURCES)) default: cairo cairo: $(OBJECTS) Makefile.static - $(LD) $(LDFLAGS) $(LIBPATH) -Map cairo.map -o cairo $(OBJECTS) -lcairo2 -lpixman-1 -lfreetype -lc -lgcc -lc + $(LD) $(LDFLAGS) $(LIBPATH) --subsystem console -Map cairo.map -o cairo $(OBJECTS) -lcairo2 -lpixman-1 -lfreetype -lc -lgcc -lc objcopy cairo -O binary %.o : %.c Makefile $(SOURCES)