ports

morpheus ports
git clone git://git.2f30.org/ports
Log | Files | Refs | LICENSE

lua.mk (358B)


      1 TARG = lua
      2 DEPS = libedit
      3 
      4 INSTALL_BIN = \
      5 	src/lua \
      6 	src/luac
      7 INSTALL_MAN1 = `{ ls doc/*.1 }
      8 
      9 <$mkbuild/mk.common
     10 
     11 lua:QV:
     12 	export CFLAGS="$CFLAGS $DEPS_CFLAGS"
     13 	export LDFLAGS="$LDFLAGS $DEPS_LDFLAGS"
     14 	#
     15 	make -j$nprocs \
     16 		AR="${AR} rcu" CC="${CC}" RANLIB="${RANLIB}" \
     17 		INSTALL_TOP="`pwd`/lib" \
     18 		MYCFLAGS="-fPIC $CFLAGS" MYLDFLAGS="$LDFLAGS" generic