1
0

Makefile 247 B

1234567891011121314
  1. %.o: %.c
  2. $(CC) $(CPPFLAGS) $(CFLAGS) $(FPIC) -c -o $@ $<
  3. clean:
  4. rm -f luci-bwc *.o
  5. luci-bwc: luci-bwc.o
  6. $(CC) $(LDFLAGS) -o $@ $^ -ldl
  7. compile: luci-bwc
  8. install: compile
  9. mkdir -p $(DESTDIR)/usr/bin
  10. cp luci-bwc $(DESTDIR)/usr/bin/luci-bwc