diff Makefile.mac @ 70:cee55c8365e9 default tip

fix
author Kazuma
date Thu, 19 May 2016 18:52:26 +0900
parents e01948ce859a
children
line wrap: on
line diff
--- a/Makefile.mac	Sun May 22 10:19:58 2011 +0900
+++ b/Makefile.mac	Thu May 19 18:52:26 2016 +0900
@@ -10,8 +10,8 @@
 TASK_SRCS = $(filter-out $(TASK_SRCS_EXCLUDE),$(TASK_SRCS_TMP))
 TASK_OBJS = $(TASK_SRCS:.cc=.o)
 
-CFLAGS  += `sdl-config --cflags` `xml2-config --cflags` $(INCLUDE)
-LIBS	+=  `sdl-config --libs` -framework OpenGL -lSDL_mixer -lSDL_image `xml2-config --libs`
+CFLAGS  += `sdl-config --cflags` `xml2-config --cflags ` `freetype-config --cflags` -Drestrict=__restrict  -Wno-int-to-pointer-cast $(INCLUDE)
+LIBS	+=  `sdl-config --libs` -framework OpenGL -lSDL_mixer -lSDL_image `xml2-config --libs` `freetype-config --libs`
 LIBS += -lCerium -lFifoManager
 
 all: $(TARGET)
@@ -37,4 +37,4 @@
 .cc.o:
 	$(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@
 
-debug.o:debug.h
\ No newline at end of file
+debug.o:debug.h