aboutsummaryrefslogtreecommitdiffstats
path: root/main/lua-bit32/Makefile
blob: 8450f9f4824861303cfdf699e44f41c1d5cdc804 (plain)
1
2
3
4
5
6
7
8
9
10
11


LUAVER = 5.1

LUAPC := lua$(LUAVER)
LUA_CFLAGS := $(shell pkg-config --cflags $(LUAPC))

$(LUAVER)/bit32.so: lbitlib.c
	mkdir -p $(LUAVER)
	$(CC) -I c-api $(CFLAGS) $(LUA_CFLAGS) -shared -fPIC $(LDFLAGS) -o $@ $<