mirror of
git://projects.qi-hardware.com/ben-blinkenlights.git
synced 2024-11-23 23:00:38 +02:00
ubb-la/Makefile: add SDL (may break "static")
This commit is contained in:
parent
435144223d
commit
65a8578bd2
@ -11,12 +11,15 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
CC = mipsel-openwrt-linux-gcc
|
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 =
|
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
|
MAIN = ubb-la
|
||||||
OBJS = ubb-la.o
|
OBJS = ubb-la.o gui.o
|
||||||
|
|
||||||
.PHONY: all static clean spotless
|
.PHONY: all static clean spotless
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user