diff options
Diffstat (limited to 'modules/luci-mod-status/src/Makefile')
-rw-r--r-- | modules/luci-mod-status/src/Makefile | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/modules/luci-mod-status/src/Makefile b/modules/luci-mod-status/src/Makefile new file mode 100644 index 0000000000..d6ed8c6e46 --- /dev/null +++ b/modules/luci-mod-status/src/Makefile @@ -0,0 +1,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 |