1
0
mirror of git://projects.qi-hardware.com/ben-blinkenlights.git synced 2024-11-23 22:30:37 +02:00
ben-blinkenlights/ubbctl/Makefile

23 lines
301 B
Makefile

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