1
0
mirror of git://projects.qi-hardware.com/ben-blinkenlights.git synced 2024-12-28 18:35:11 +02:00
ben-blinkenlights/ubbctl/Makefile

23 lines
301 B
Makefile
Raw Normal View History

2013-01-04 10:40:19 +02:00
CC = mipsel-openwrt-linux-gcc
CFLAGS = -g -Wall -O9 -I../libubb/include
LDFLAGS =
2013-01-04 10:40:19 +02:00
LDLIBS = -L../libubb -lubb
MAIN = ubbctl
OBJS = ubbctl.o
.PHONY: all static clean spotless
2013-01-04 10:40:19 +02:00
all: $(MAIN)
static:
$(MAKE) LDFLAGS=-static
2013-01-04 10:40:19 +02:00
$(MAIN): $(OBJS)
clean:
rm -f $(OBJS)
spotless: clean
rm -f $(MAIN)