A little bug I have resolved in "Makefile Cookbook" #55
zhangbeyonder
started this conversation in
Ideas
Replies: 1 comment
-
Ah yes, fixed, thanks! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Dear theicfire:
When I
make
my project with your "Makefile Cookbook", the make process stopped by some error at this commandIt is obviously that GCC has problems linking CPP files. So, I replaced
$(CC) $(OBJS) -o $@ $(LDFLAGS)
(line 30) by$(CXX) $(OBJS) -o $@ $(LDFLAGS)
. Of course, just add-lstdc++
in original line would also make sense.yours
bingyang
Beta Was this translation helpful? Give feedback.
All reactions