From 65a8578bd2b6828f8428cf41a52dbe14a6550e4a Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Wed, 30 Jan 2013 21:19:09 -0300 Subject: [PATCH] ubb-la/Makefile: add SDL (may break "static") --- ubb-la/Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/ubb-la/Makefile b/ubb-la/Makefile index 0cf0589..ceab205 100644 --- a/ubb-la/Makefile +++ b/ubb-la/Makefile @@ -11,12 +11,15 @@ # CC = mipsel-openwrt-linux-gcc -CFLAGS = -g -Wall -O9 -fno-tree-cselim -I../libubb/include +CFLAGS = -g -Wall -O9 -fno-tree-cselim -I../libubb/include \ + $(shell sdl-config --cflags) LDFLAGS = -LDLIBS = -L../libubb -lubb -lm -lrt +#LDLIBS = -L../libubb -lubb -lm -lrt $(shell sdl-config --libs) -lSDL_gfx +LIBUBB = -L../libubb -lubb +LDLIBS = $(LIBUBB) -lm -lrt -lSDL -lSDL_gfx -lpthread -ldl MAIN = ubb-la -OBJS = ubb-la.o +OBJS = ubb-la.o gui.o .PHONY: all static clean spotless