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