1
0
mirror of git://projects.qi-hardware.com/ben-blinkenlights.git synced 2024-12-28 03:26:25 +02:00

ubbctl/Makefile: make default build shared; add target "static"

This commit is contained in:
Werner Almesberger 2013-01-07 08:24:11 -03:00
parent 64c14fb709
commit 7b8a2e13ed

View File

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