aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index bab8386..75de828 100644
--- a/Makefile
+++ b/Makefile
@@ -3,12 +3,14 @@ LDFLAGS = --version-script=libbrilldata.v -shared -lgsl -lm -llapacke
TARGET = libbrilldata.so
+OBJECTS = brill_data.o
+
all: $(TARGET)
-$(TARGET): brill_data.o
+$(TARGET): $(OBJECTS)
ld ${LDFLAGS} -o $@ $<
clean:
- -rm *.o $(TARGET)
+ -rm $(OBJECTS) $(TARGET)
.PHONY: clean