summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/Makefile b/examples/Makefile
index 6aae7f2..7f2b2bf 100644
--- a/examples/Makefile
+++ b/examples/Makefile
@@ -10,9 +10,9 @@ LDFLAGS += -L../src -l$(LIBNAME) -lm
EXAMPLES = test open say spatial
-all: $(EXAMPLES) ../src/$(STATIC)
+all: $(EXAMPLES)
-$(EXAMPLES): %: %.c
+$(EXAMPLES): %: %.c ../src/$(STATIC)
$(CC) $(CFLAGS) -o $@ $< $(LDFLAGS)
clean: