aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: aec6c0b32975335908d74aa517a4e8c646d01b7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
CFLAGS = -std=gnu99 -D_XOPEN_SOURCE=700 -fPIC
LDFLAGS = --version-script=libbrilldata.v -shared -lgsl -lm -llapacke

TARGET = libbrilldata.so

OBJECTS = brill_data.o

all: $(TARGET)

$(TARGET): $(OBJECTS)
	ld ${LDFLAGS} -o $@ $<

clean:
	-rm $(OBJECTS) $(TARGET)

test: $(TARGET)
	LD_LIBRARY_PATH=. ./test.py

.PHONY: clean test