| 1 | LUA_INCLUDES=/usr/include/ |
| 2 | |
| 3 | lib/unicode/native.so: lib/unicode/native.o |
| 4 | $(CXX) -o $@ -shared $^ $(shell pkg-config --libs icu-uc) |
| 5 | |
| 6 | lib/unicode/native.o: lib/unicode/native.cc |
| 7 | $(CXX) -o $@ -fPIC -c $^ -I$(LUA_INCLUDES) $(shell pkg-config --cflags icu-uc) |
| 8 | |
| 9 | clean: |
| 10 | rm -f lib/unicode/*.o lib/unicode/*.so |