From 188dda8bfe55968317fdea5d9cdb7b6360a45312 Mon Sep 17 00:00:00 2001 From: Ruoxi Wang Date: Fri, 24 Jun 2016 15:19:41 +0800 Subject: [PATCH] -lm link flag not working solved --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 0ac09f4..ed3b20e 100644 --- a/Makefile +++ b/Makefile @@ -17,7 +17,7 @@ all: gpx # Main target gpx: $(OBJECTS) - $(CC) $(L_FLAGS) $(OBJECTS) -o gpx + $(CC) $(OBJECTS) $(L_FLAGS) -o gpx # To obtain object files %.o: %.c