Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation issue #42

Open
tryingsomestuff opened this issue Sep 12, 2021 · 1 comment
Open

Compilation issue #42

tryingsomestuff opened this issue Sep 12, 2021 · 1 comment

Comments

@tryingsomestuff
Copy link

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 $@
@rosenthj
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants