1
0
mirror of git://projects.qi-hardware.com/ben-blinkenlights.git synced 2024-11-16 21:01:54 +02:00

ubb-la/Makefile: add SDL (may break "static")

This commit is contained in:
Werner Almesberger 2013-01-30 21:19:09 -03:00
parent 435144223d
commit 65a8578bd2

View File

@ -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