diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -3,7 +3,7 @@ LUA_PC ?= lua5.1 LUA_LIBS ?= $(shell pkg-config $(LUA_PC) --libs) LUA_CFLAGS = $(shell pkg-config $(LUA_PC) --cflags) -CFLAGS ?= -O3 -Wall -Werror +CFLAGS ?= -O2 -Wall -Werror all: lua_uuid.so @@ -14,5 +14,8 @@ lua_uuid.so: lua_uuid.o test/lua_uuid_test.lua $(CC) -shared lua_uuid.o $(LUA_LIBS) -o $@ $(LUA) test/lua_uuid_test.lua +install: lua_uuid.so + cp lua_uuid.so $(INST_LIBDIR) + clean: rm -f lua_uuid.so lua_uuid.o *.rock |