diff options
author | Anton Khirnov <anton@khirnov.net> | 2014-11-01 14:15:00 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2014-11-01 14:15:00 +0100 |
commit | c8441c7e80cca2b26bdd9f6b043ab9e4827b6703 (patch) | |
tree | 2353734333f22980ff5c0567d0839a6fe6d7e5de /Makefile | |
parent | 4c52660b125a296b449efb4f30c18d498f21e17c (diff) |
Add a Makefile and a linker versioning script.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..bab8386 --- /dev/null +++ b/Makefile @@ -0,0 +1,14 @@ +CFLAGS = -std=gnu99 -D_XOPEN_SOURCE=700 -fPIC +LDFLAGS = --version-script=libbrilldata.v -shared -lgsl -lm -llapacke + +TARGET = libbrilldata.so + +all: $(TARGET) + +$(TARGET): brill_data.o + ld ${LDFLAGS} -o $@ $< + +clean: + -rm *.o $(TARGET) + +.PHONY: clean |