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