ares/rust/murmur3/murmur3-sys/makefile
Chris A. f740d85336
Nounable, Cold state (#276)
* Nounable, Cold state

* Down with the foomty

* Update rust/sword/src/jets/cold.rs

Co-authored-by: Edward Amsden <edward@blackriversoft.com>

* Update rust/sword/src/jets/cold.rs

Co-authored-by: Edward Amsden <edward@blackriversoft.com>

* Update rust/sword/src/jets/cold.rs

Co-authored-by: Edward Amsden <edward@blackriversoft.com>

* Update rust/sword/src/jets/cold.rs

Co-authored-by: Edward Amsden <edward@blackriversoft.com>

* Update rust/sword/src/jets/cold.rs

Co-authored-by: Edward Amsden <edward@blackriversoft.com>

* Update rust/sword/src/jets/cold.rs

Co-authored-by: Edward Amsden <edward@blackriversoft.com>

---------

Co-authored-by: Edward Amsden <edward@blackriversoft.com>
2024-10-17 13:51:09 -05:00

16 lines
485 B
Makefile

CFLAGS = -O3 -Wall
.PHONY: all clean tests
shared: murmur3.c murmur3.h
$(CC) -fPIC -O3 -c murmur3.c -o $(OUT_DIR)/murmur3.o
$(CC) -shared -Wl,--export-dynamic $(OUT_DIR)/murmur3.o -o $(OUT_DIR)/libmurmur3.so
# -Wl,-export-dynamic is supposed to work on macOS but doesn't on ld64 XCode 16.0 / macOS 15.0.1
shared-mac: murmur3.c murmur3.h
$(CC) -fPIC -O3 -c murmur3.c -o $(OUT_DIR)/murmur3.o
$(CC) -shared $(OUT_DIR)/murmur3.o -o $(OUT_DIR)/libmurmur3.so
clean:
rm -rf *.o *.so