mirror of
git://projects.qi-hardware.com/ben-blinkenlights.git
synced 2024-11-16 21:25:19 +02:00
ubbctl/Makefile: make default build shared; add target "static"
This commit is contained in:
parent
64c14fb709
commit
7b8a2e13ed
@ -1,15 +1,18 @@
|
|||||||
CC = mipsel-openwrt-linux-gcc
|
CC = mipsel-openwrt-linux-gcc
|
||||||
CFLAGS = -g -Wall -O9 -I../libubb/include
|
CFLAGS = -g -Wall -O9 -I../libubb/include
|
||||||
LDFLAGS = -static
|
LDFLAGS =
|
||||||
LDLIBS = -L../libubb -lubb
|
LDLIBS = -L../libubb -lubb
|
||||||
|
|
||||||
MAIN = ubbctl
|
MAIN = ubbctl
|
||||||
OBJS = ubbctl.o
|
OBJS = ubbctl.o
|
||||||
|
|
||||||
.PHONY: all clean spotless
|
.PHONY: all static clean spotless
|
||||||
|
|
||||||
all: $(MAIN)
|
all: $(MAIN)
|
||||||
|
|
||||||
|
static:
|
||||||
|
$(MAKE) LDFLAGS=-static
|
||||||
|
|
||||||
$(MAIN): $(OBJS)
|
$(MAIN): $(OBJS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
|
Loading…
Reference in New Issue
Block a user