shithub: lua9

ref: 109ad0e900faafa21aceaffa0ccd2edf22030129
dir: /mkfile/

View raw version
APE=/sys/src/ape
<$APE/config

TARG=lua9

BIN=/$objtype/bin/ape

OFILES=\
    lua9.$O \
    
HFILES=\
    /sys/include/ape/lauxlib.h \
    /sys/include/ape/lua.h \
    /sys/include/ape/luaconf.h \
    /sys/include/ape/lualib.h

</sys/src/cmd/mkone

CC=pcc
LD=pcc
CFLAGS= -c -I. -D_C99_SNPRINTF_EXTENSION -D_PLAN9_SOURCE -D_POSIX_SOURCE \
        -D_SUSV2_SOURCE -DLUA_POSIX -DENABLE_CJSON_GLOBAL \
        -DPlan9 -DMAKE_LUA

install:V:
        cp $O.out /$objtype/bin/ape/$TARG
        
nuke:V:
        rm -f /$objtype/bin/ape/$TARG