-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
51 lines (48 loc) · 1.42 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
ROOT=.
HUX_JS=$(ROOT)/hux.js
SRC=$(ROOT)/src
MODULES=$(SRC)/modules
CORE=$(SRC)/core/core.hux.js
CCAT_MOD= @@cat $(MODULES)/$(1).hux.js >> $(HUX_JS); echo "" >> $(HUX_JS);
all: core simpleloader hashbang form stageclassmgr atinclusion atinclusionfallback formupdateurl xhtmlsupport scriptinjecter#overlay animation
@@echo "generation done";
all-dev: all checker
init:
@@echo "generating hux.js"; echo "" > $(HUX_JS);
core: init
@@cat $(CORE) >> $(HUX_JS);
simpleloader: core
$(call CCAT_MOD,simpleloader)
hashbang: pairmgr contentmanager core
$(call CCAT_MOD,hashbang)
hashbang4indexing: hashbang
$(call CCAT_MOD,hashbang4indexing)
form: core
$(call CCAT_MOD,form)
formupdateurl: form hashbang atinclusion
$(call CCAT_MOD,formupdateurl)
scriptinjecter: core
$(call CCAT_MOD,scriptinjecter)
stageclassmgr: core
$(call CCAT_MOD,stageclassmgr)
overlay: core
$(call CCAT_MOD,overlay)
atinclusion: pairmgr contentmanager core
$(call CCAT_MOD,atinclusion)
pairmgr: core
$(call CCAT_MOD,pairmgr)
contentmanager: core
$(call CCAT_MOD,contentmanager)
animation: core stageclassmgr
$(call CCAT_MOD,animation)
atinclusionfallback: atinclusion hashbang
$(call CCAT_MOD,atinclusionfallback)
xhtmlsupport: core
$(call CCAT_MOD,xhtmlsupport)
# needs improvement
#defaulttrigger: core
# $(call CCAT_MOD,defaulttrigger) >> $(HUX_JS);
#checker: core
# @@cat $(MODULES)/checker.hux.js >> $(HUX_JS);
clean:
@@ rm $(HUX_JS); echo "hux.js removed";