From 62ed0947f53f3020490d1c22bbfc44ac31f3efbc Mon Sep 17 00:00:00 2001 From: yinjun322 Date: Mon, 28 Sep 2015 17:27:39 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dmacos=E7=BC=96=E8=AF=91?= =?UTF-8?q?=E4=B8=8D=E8=BF=87=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 0503682b..b73cc324 100644 --- a/Makefile +++ b/Makefile @@ -113,7 +113,7 @@ macosx : CC := clang macosx : OS := MACOSX macosx : TARGET := ej2d macosx : CFLAGS += -I/usr/include $(shell freetype-config --cflags) -D __MACOSX -macosx : LDFLAGS += -lglfw3 -framework OpenGL -lfreetype -lm -ldl +macosx : LDFLAGS += -lglfw3 -framework OpenGL -framework Cocoa -framework IOKit -framework CoreVideo -lfreetype -lm -ldl macosx : SRC += mac/example/example/window.c posix/winfw.c mac/example/example/winfont.c macosx : $(SRC) ej2d From 49b000589a74608aa6e9f78f2934bb29d2fbe4ea Mon Sep 17 00:00:00 2001 From: yinjun322 Date: Sat, 24 Oct 2015 17:23:09 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E5=8A=A0=E5=85=A5lib=E7=9A=84=E6=90=9C?= =?UTF-8?q?=E7=B4=A2=E4=BD=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index bd1ebfe0..bb0447e3 100644 --- a/Makefile +++ b/Makefile @@ -113,7 +113,7 @@ macosx : CC := clang macosx : OS := MACOSX macosx : TARGET := ej2d macosx : CFLAGS += -I/usr/include $(shell freetype-config --cflags) -D __MACOSX -macosx : LDFLAGS += -lglfw3 -framework OpenGL -framework Cocoa -framework IOKit -framework CoreVideo -lfreetype -lm -ldl +macosx : LDFLAGS += -L/usr/local/lib -lglfw3 -framework OpenGL -framework Cocoa -framework IOKit -framework CoreVideo -lfreetype -lm -ldl macosx : SRC += mac/example/example/window.c posix/winfw.c mac/example/example/winfont.c macosx : $(SRC) ej2d