Winter
Winter copied to clipboard
Compilation issue
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 $@
I am fine with changing this. I wasn't aware that it made a difference where the flags go?