diff options
Diffstat (limited to 'clients/lua/Makefile')
| -rw-r--r-- | clients/lua/Makefile | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/clients/lua/Makefile b/clients/lua/Makefile new file mode 100644 index 00000000..7bb74208 --- /dev/null +++ b/clients/lua/Makefile @@ -0,0 +1,17 @@ +# makefile for lua interpreter + +BIN= $(LUA)/bin +INC= $(LUA)/include +LIB= $(LUA)/lib + +CC= gcc +CFLAGS= -g -Wall -O2 -I$(INC) + +OBJS= lua.o +T=$(BIN)/lua + +$T: $(OBJS) + $(CC) -o $@ $(OBJS) -L$(LIB) -llua -llualib -lm + +clean: + rm -f $T $(OBJS) |
