Files
luci/Makefile
Steven Barth b515d6f88e * Changed Makefiles to use mainline Lua
* Added a dispatching shortcut (thanks to Jow)
2008-05-22 17:21:30 +00:00

23 lines
424 B
Makefile

include build/config.mk
MODULES = applications/* core modules/* themes/*
LUA_TARGET = source
.PHONY: all build clean host hostclean
all: build
build:
for i in $(MODULES); do make -C$$i $(LUA_TARGET); done
clean:
for i in $(MODULES); do make -C$$i clean; done
host: build
mkdir -p host/ffluci
for i in $(MODULES); do cp $$i/dist$(LUCI_INSTALLDIR) host/ -R 2>/dev/null || true; done
hostclean: clean
rm host -rf