libmcl-sys 0.1.2-rc1

This system crate provides Rust language bindings to the Minos Compute Library (MCL)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
CC=gcc
CFLAGS := $(CFLAGS) -std=c11 -g -O3 -fPIC -Wall -Werror
DEPS = nbhashmap.h debug.h
OBJ = nbhashmap.o test.o 

%.o: %.c $(DEPS)
	$(CC) -c -o $@ $< $(CFLAGS) $(CPPFLAGS) $(LDFLAGS)

lib: nbhashmap.o

test: test.o nbhashmap.o
	gcc -std=c11 -g -Wall -Werror test.c -o test -lpthread

.PHONY: clean

clean:
	rm -rf *.o *.a *.la *.lo *.so test test.dSYM/