Winter icon indicating copy to clipboard operation
Winter copied to clipboard

Compilation issue

Open tryingsomestuff opened this issue 4 years ago • 1 comments

I guess LDFLAGS shall be at the end

diff --git a/Makefile b/Makefile
index fe718fa..c23cab8 100644
--- a/Makefile
+++ b/Makefile
@@ -22,7 +22,7 @@ EXE:=Winter
 all: $(SOURCES) $(EXE)
 
 $(EXE): $(OBJECTS) 
-       $(CC) $(LDFLAGS) $(OBJECTS) -o $@ 
+       $(CC) $(OBJECTS) -o $@ $(LDFLAGS)
 
 .cc.o:
        $(CC) $(CFLAGS) $< -o $@

tryingsomestuff avatar Sep 12 '21 10:09 tryingsomestuff

I am fine with changing this. I wasn't aware that it made a difference where the flags go?

rosenthj avatar Jan 14 '22 15:01 rosenthj