summaryrefslogtreecommitdiffhomepage
path: root/Makefile
blob: a57acf49712e91f4442b5342a40e95477968784b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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/ffluci -R; done
	
hostclean:
	rm host -rf