summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 1cf0840..f69df2c 100644
--- a/Makefile
+++ b/Makefile
@@ -324,12 +324,12 @@ libtonezone.a: $(TZOBJS)
ar rcs libtonezone.a $^
$(LIBTONEZONE_SO): $(TZOBJS)
- $(CC) $(CFLAGS) -shared -Wl,-soname,$(LIBTONEZONE_SO).$(LIBTONEZONE_SO_MAJOR_VER).$(LIBTONEZONE_SO_MINOR_VER) -lm -o $@ $^ $(LDFLAGS)
+ $(CC) $(CFLAGS) -shared -Wl,-soname,$(LIBTONEZONE_SO).$(LIBTONEZONE_SO_MAJOR_VER).$(LIBTONEZONE_SO_MINOR_VER) -o $@ $^ $(LDFLAGS) -lm
ztcfg.c: ztcfg.h
ztcfg-shared: ztcfg.o $(LIBTONEZONE_SO)
- $(CC) $(CFLAGS) -o $@ $^ -lm $(LDFLAGS)
+ $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS) -lm
ztcfg: ztcfg.o libtonezone.a
ztcfg: LDFLAGS+=-lm