blob: 47045fc5c4b650fb8a6d0eee603f2bb38aed5f05 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
%.o: %.c
$(CC) $(CPPFLAGS) $(CFLAGS) $(FPIC) -c -o $@ $<
clean:
rm -f luci-bwc *.o
luci-bwc: luci-bwc.o
$(CC) $(LDFLAGS) -shared -o $@ $^
compile: luci-bwc
install: compile
mkdir -p $(DESTDIR)/usr/bin
cp luci-bwc $(DESTDIR)/usr/bin/luci-bwc
|