From 9b783b53ee8543f7922b3adc496a04e9486983c6 Mon Sep 17 00:00:00 2001
From: Dirk Engling <erdgeist@erdgeist.org>
Date: Tue, 2 Jun 2015 19:31:06 +0200
Subject: Make linker use lm after it is used

---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'Makefile')

diff --git a/Makefile b/Makefile
index 22a1693..3e64576 100644
--- a/Makefile
+++ b/Makefile
@@ -25,7 +25,7 @@ bin/map_coords: src/export/map_coords.c src/export/mystdlib.c
 	$(CC) $(CFLAGS) -o $@ src/export/map_coords.c src/export/mystdlib.c
 
 bin/convert_coords: src/export/convert_coords.c
-	$(CC) $(CFLAGS) -o $@ -lm src/export/convert_coords.c
+	$(CC) $(CFLAGS) -o $@ src/export/convert_coords.c -lm
 
 .PHONY: clean
 clean:
-- 
cgit v1.2.3