Makefile

musicmud-2.1.6/src/lua/src/lib/Makefile · 417 B

From the archive musicmud2.1.6.tar.gz

Download the archive   « Back to the archive contents

# makefile for Lua standard library

LUA= ../..

include $(LUA)/config

# actually only used in liolib.c
EXTRA_DEFS= $(POPEN)

OBJS= lauxlib.o lbaselib.o ldblib.o liolib.o lmathlib.o lstrlib.o
SRCS= lauxlib.c lbaselib.c ldblib.c liolib.c lmathlib.c lstrlib.c

T= $(LIB)/liblualib.a

all: $T

$T: $(OBJS)
	$(AR) $@ $(OBJS)
	$(RANLIB) $@

clean:
	rm -f $(OBJS) $T

co:
	co -q -f -M $(SRCS)

klean:	clean
	rm -f $(SRCS)

Site Stats

Snippets: 1791
Codebases: 571