webmcp

view Makefile @ 560:75204c64cc5f

Use CRLF instead of LF for terminating raw header
author jbe
date Tue Jun 09 13:27:58 2020 +0200 (4 months ago)
parents b36e366bba2b
children
line source
1 include Makefile.options
3 all::
4 make documentation
5 make accelerator
6 make libraries
7 make symlinks
8 make precompile
10 documentation::
11 rm -f doc/autodoc.tmp
12 $(LUA_BIN) framework/bin/autodoc.lua framework/bin/mcp.lua framework/env/ libraries/ > doc/autodoc.tmp
13 cat doc/autodoc-header.htmlpart doc/autodoc.tmp doc/autodoc-footer.htmlpart > doc/autodoc.html
14 rm -f doc/autodoc.tmp
16 accelerator::
17 cd framework/accelerator; make
19 libraries::
20 cd libraries/extos; make
21 cd libraries/json; make
22 cd libraries/mondelefant; make
23 cd libraries/moonhash; make
24 cd libraries/multirand; make
26 symlinks::
27 ln -s -f ../../libraries/atom/atom.lua framework/lib/
28 ln -s -f ../../libraries/extos/extos.so framework/lib/
29 ln -s -f ../../libraries/json/json.so framework/lib/
30 ln -s -f ../../libraries/mondelefant/mondelefant.lua framework/lib/
31 ln -s -f ../../libraries/mondelefant/mondelefant_native.so framework/lib/
32 ln -s -f ../../libraries/mondelefant/mondelefant_atom_connector.lua framework/lib/
33 ln -s -f ../../libraries/moonhash/moonhash.so framework/lib/
34 ln -s -f ../../libraries/multirand/multirand.so framework/lib/
35 ln -s -f ../../libraries/nihil/nihil.lua framework/lib/
36 ln -s -f ../../libraries/luatex/luatex.lua framework/lib/
38 precompile::
39 rm -Rf framework.precompiled
40 rm -Rf demo-app.precompiled
41 sh framework/bin/recursive-luac $(LUAC_BIN) framework/ framework.precompiled/
42 rm -f framework.precompiled/accelerator/Makefile
43 rm -f framework.precompiled/accelerator/webmcp_accelerator.c
44 rm -f framework.precompiled/accelerator/webmcp_accelerator.o
45 framework/bin/recursive-luac $(LUAC_BIN) demo-app/ demo-app.precompiled/
47 clean::
48 rm -f doc/autodoc.tmp doc/autodoc.html
49 rm -Rf framework.precompiled
50 rm -Rf demo-app.precompiled
51 rm -f demo-app/tmp/*
52 rm -f framework/lib/*
53 cd libraries/extos; make clean
54 cd libraries/mondelefant; make clean
55 cd libraries/moonhash; make clean
56 cd libraries/multirand; make clean
57 cd libraries/json; make clean
58 cd framework/accelerator; make clean

Impressum / About Us