lua-iconv/Makefile
Alexandre Erwin Ittner 6b2b43d283 *** empty log message ***
git-svn-id: file:///var/svn/lua-iconv/trunk@18 9538949d-8f27-0410-946f-ce01ef448559
2005-09-18 17:46:53 +00:00

47 lines
1.6 KiB
Makefile

# luaiconv - Performs character set conversions in Lua
# (c) 2005 Alexandre Erwin Ittner <aittner@netuno.com.br>
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, merge, publish,
# distribute, sublicense, and/or sell copies of the Software, and to
# permit persons to whom the Software is furnished to do so, subject to
# the following conditions:
#
# The above copyright notice and this permission notice shall be
# included in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
# IN NO EVENT SHALL THE AUTHOR OR COPYRIGHT HOLDER BE LIABLE FOR ANY
# CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#
# If you use this package in a product, an acknowledgment in the product
# documentation would be greatly appreciated (but it is not required).
CC=gcc
OUTFILE=libluaiconv.so
CFLAGS=-Wall
LFLAGS=-shared -llua
#LFLAGS=$(LFLAGS) -liconv
all: $(OUTFILE)
$(OUTFILE): luaiconv.c
$(CC) -o $(OUTFILE) $(CFLAGS) $(LFLAGS) luaiconv.c
install: $(OUTFILE)
cp $(OUTFILE) /usr/lib/
install51: $(OUTFILE)
lua install51.lua $(OUTFILE) iconv
clean:
rm -f $(OUTFILE) *.o