include Makefile.define

# Ĭϳ
default:all

# Ӧļб
PATS = BaseCommand.o LuaTest.o ./Lua/LuaFn.o

LIB_BASE_OBJS = BaseCommand.o LuaTest.o LuaFn.o
LIB_BASE = libLuaTest.so

all: libLuaTest.so clear
			
# Ӧó
all:$(LIB_BASE) Makefile

$(LIB_BASE):$(PATS)
	$(CC) -shared -o $(LIB_BASE) $(LIB_BASE_OBJS) $(LIBS)

# 
clean:
	rm -rf *.o  $(LIB_BASE) $(LIB_BASE_OBJS)
clear:	
	mv libLuaTest.so ../../../Build/Linux	
cl:	
	rm -rf *.o 
