mirror of
git://projects.qi-hardware.com/ben-blinkenlights.git
synced 2024-11-23 22:42:49 +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
|
||||
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:
|
||||
|
Loading…
Reference in New Issue
Block a user