diff --git a/Makefile b/Makefile index 36f6f402..779a7c61 100644 --- a/Makefile +++ b/Makefile @@ -27,7 +27,7 @@ debug: prep wrend # Debug command-line interpreter. wrend: $(DEBUG_OBJECTS) - $(CC) $(CFLAGS) $(DEBUG_CFLAGS) -Iinclude -lm -o wrend $^ + $(CC) $(CFLAGS) $(DEBUG_CFLAGS) -Iinclude -o wrend $^ -lm # Debug object files. build/debug/%.o: src/%.c include/wren.h $(HEADERS) @@ -38,7 +38,7 @@ release: prep wren # Release command-line interpreter. wren: $(RELEASE_OBJECTS) - $(CC) $(CFLAGS) $(RELEASE_CFLAGS) -Iinclude -lm -o wren $^ + $(CC) $(CFLAGS) $(RELEASE_CFLAGS) -Iinclude -o wren $^ -lm # Release object files. build/release/%.o: src/%.c include/wren.h $(HEADERS)