1
0
mirror of git://projects.qi-hardware.com/imgv.git synced 2024-11-27 16:47:10 +02:00

add SDL_ttf freetype to LIBS

Signed-off-by: xiangfu <xiangfu@openmobilefree.net>
This commit is contained in:
xiangfu 2010-10-19 21:21:35 -08:00
parent 16ccc7f946
commit 933f92b86b

View File

@ -1,15 +1,15 @@
####### openwrt-xburst path ####### openwrt-xburst path
BASEPATH = /home/fcarello/Projects/openwrt-xburst 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 ####### Compiler, tools and options
CC ?= mipsel-openwrt-linux-uclibc-gcc CC = mipsel-openwrt-linux-gcc
STRIP ?= mipsel-openwrt-linux-uclibc-strip 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 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. 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 SOURCE1 = sdl-imageviewer.c
TARGET1 = imgv TARGET1 = imgv
@ -21,3 +21,4 @@ all:
$(STRIP) $(TARGET1) $(STRIP) $(TARGET1)
clean: clean:
rm -f $(TARGET1) rm -f $(TARGET1)