summaryrefslogtreecommitdiffhomepage
path: root/libs/luci-lib-luaneightbl/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libs/luci-lib-luaneightbl/src/Makefile')
-rw-r--r--libs/luci-lib-luaneightbl/src/Makefile17
1 files changed, 0 insertions, 17 deletions
diff --git a/libs/luci-lib-luaneightbl/src/Makefile b/libs/luci-lib-luaneightbl/src/Makefile
deleted file mode 100644
index f856d2fa2f..0000000000
--- a/libs/luci-lib-luaneightbl/src/Makefile
+++ /dev/null
@@ -1,17 +0,0 @@
-NEIGHTBL_CFLAGS = -std=gnu99
-NEIGHTBL_LDFLAGS = -llua -lm
-NEIGHTBL_OBJ = neightbl.o
-NEIGHTBL_LIB = neightbl.so
-
-%.o: %.c
- $(CC) $(CPPFLAGS) $(CFLAGS) $(LUA_CFLAGS) $(NEIGHTBL_CFLAGS) $(FPIC) -c -o $@ $<
-
-compile: $(NEIGHTBL_OBJ)
- $(CC) $(LDFLAGS) -shared -o $(NEIGHTBL_LIB) $(NEIGHTBL_OBJ) $(NEIGHTBL_LDFLAGS)
-
-install: compile
- mkdir -p $(DESTDIR)/usr/lib/lua
- cp $(NEIGHTBL_LIB) $(DESTDIR)/usr/lib/lua/$(NEIGHTBL_LIB)
-
-clean:
- rm -f *.o *.so