From 9d80a43a469dd474691c95e9899db09449076df7 Mon Sep 17 00:00:00 2001 From: JSDurand Date: Sat, 22 Jul 2023 11:37:54 +0800 Subject: Add some auxiliary data. Try to fix some minor issues. --- src/Makefile.am | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/Makefile.am (limited to 'src') diff --git a/src/Makefile.am b/src/Makefile.am new file mode 100644 index 0000000..114b168 --- /dev/null +++ b/src/Makefile.am @@ -0,0 +1,20 @@ +CC=gcc + +CFLAGS=-g -O0 + +rep.so: binding.c ../target/debug/librep.dylib helper.o big_endian.o + $(CC) $(CFLAGS) $+ -shared -export-dynamic -o $@ + +test: test.c ../target/debug/librep.dylib helper.o big_endian.o + $(CC) $(CFLAGS) $+ -o $@ + +.PHONY: clean rs windows + +clean: + rm *.o + +rs: + cargo build + +windows: + cargo build --target=x86_64-pc-windows-gnu -- cgit v1.2.3-18-g5258