From 933f92b86b355e482ea41d89f72982e8b0bf4475 Mon Sep 17 00:00:00 2001 From: xiangfu Date: Tue, 19 Oct 2010 21:21:35 -0800 Subject: [PATCH] add SDL_ttf freetype to LIBS Signed-off-by: xiangfu --- Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 4f49557..a4be2a9 100644 --- a/Makefile +++ b/Makefile @@ -1,15 +1,15 @@ ####### openwrt-xburst path BASEPATH = /home/fcarello/Projects/openwrt-xburst -TARGETPATH ?= $(BASEPATH)/staging_dir/target-mipsel_uClibc-0.9.30.1 +TARGETPATH ?= $(BASEPATH)/staging_dir/target-mipsel_uClibc-0.9.32 ####### Compiler, tools and options -CC ?= mipsel-openwrt-linux-uclibc-gcc -STRIP ?= mipsel-openwrt-linux-uclibc-strip +CC = mipsel-openwrt-linux-gcc +STRIP = mipsel-openwrt-linux-strip CFLAGS := $(CFLAGS) -pipe -O2 -fomit-frame-pointer -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -Wall -W -D_REENTRANT INCPATH = -I$(TARGETPATH)/usr/include/ -I$(TARGETPATH)/usr/include/SDL -I. -LIBS = -L$(TARGETPATH)/usr/lib/ -lSDL -lSDL_image -lSDL_gfx -ldirectfb -ldirect -lfusion -lz -lpthread +LIBS = -L$(TARGETPATH)/usr/lib/ -lSDL -lSDL_image -lSDL_gfx -lSDL_ttf -lfreetype -ldirectfb -ldirect -lfusion -lz -lpthread SOURCE1 = sdl-imageviewer.c TARGET1 = imgv @@ -21,3 +21,4 @@ all: $(STRIP) $(TARGET1) clean: rm -f $(TARGET1) +