public
Description: convert Lua source code into an equivalent C source code written in terms of Lua C API calls
Homepage: http://lua-users.org/wiki/LuaToCee
Clone URL: git://github.com/davidm/lua2c.git
lua2c / Makefile
100644 27 lines (23 sloc) 0.667 kb
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
# Makefile for building in g++/gnumake.
 
all :
@echo nothing to do
 
# builds redistributable
TAG=`date +%Y-%m-%d|tr -d '-'`
dist :
DIR=lua2c-$(TAG) ; \
(rm -fr $$DIR && \
mkdir $$DIR && \
mkdir $$DIR/examples-lua && \
mkdir $$DIR/lib && \
mkdir $$DIR/lib/metalua && \
cp README LICENSE CHANGES Makefile lua2c.lua clua \
$$DIR && \
cp examples-lua/*.lua $$DIR/examples-lua/ && \
cp lib/*.lua $$DIR/lib/ && \
cp lib/metalua/*.lua $$DIR/lib/metalua/ && \
tar czvf $$DIR.tar.gz $$DIR )
 
clean :
rm -f *.stackdump
rm -f `find . -name '*~'`
rm -f `find . -name '*.c' -o -name '*.exe'`
rm -fr lua2c-*