1
0
mirror of git://projects.qi-hardware.com/ben-blinkenlights.git synced 2024-11-23 20:59:42 +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
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