chiark / gitweb /
move -lm to LDLIBS where it ought to be
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 9 Mar 2014 01:47:51 +0000 (01:47 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 9 Mar 2014 01:47:51 +0000 (01:47 +0000)
Makefile

index 5443d23e6f53d34bdca5515d5fd12655f3bac2e2..96ede561bacd00501a7f4801ee763c24b640ae61 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
-CFLAGS += -Wall -Wwrite-strings -Wstrict-prototypes -g -O2 -std=gnu99 -lm
+CFLAGS += -Wall -Wwrite-strings -Wstrict-prototypes -g -O2 -std=gnu99
 LC_CTYPE=C
-LDLIBS = -lpub -lglpk
+LDLIBS = -lpub -lglpk -lm
 
 all: main