blob: d6ed8c6e4676813ce8d2c730ffc8e525188f959e (
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) -o $@ $^ -ldl
compile: luci-bwc
install: compile
mkdir -p $(DESTDIR)/usr/bin
cp luci-bwc $(DESTDIR)/usr/bin/luci-bwc
|