Makefile
musicmud-2.1.6/src/lua/src/lua/Makefile · 400 B
From the archive musicmud2.1.6.tar.gz
Download the archive « Back to the archive contents
# makefile for Lua interpreter LUA= ../.. include $(LUA)/config EXTRA_DEFS= $(POSIX) OBJS= lua.o SRCS= lua.c T= $(BIN)/lua all: $T $T: $(OBJS) $(LIB)/liblua.a $(LIB)/liblualib.a $(CC) -o $@ $(OBJS) -L$(LIB) -llua -llualib $(EXTRA_LIBS) $(LIB)/liblua.a: cd ..; $(MAKE) $(LIB)/liblualib.a: cd ../lib; $(MAKE) clean: rm -f $(OBJS) $T co: co -q -f -M $(SRCS) klean: clean rm -f $(SRCS)