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