shithub: lua9

ref: a865847b15c422c801dec48e2eb980cae8a1f869
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