Skip to content

Added root Makefile with compiler and build options #58

Merged
merged 7 commits into from
Apr 5, 2017

Conversation

gkorepanov
Copy link
Contributor

I'm not sure whether it is OK to add all the paths into the root Makefile (many vpath and INCL dirs), as in case there are headers with same name, It will not work properly, and such an overhead might slow down the build a little.

But I believe for relatively small mips-mips it's quite acceptable for now, as the build takes few seconds and all the headers are named differently and everything just works.

This should accomplish #48

@gkorepanov
Copy link
Contributor Author

Last commit 9daca21 also adds a dependencies on header files. I've just copied the code from one of my old projects, seems everything works. When added to all of the rest Makefiles, it will accomplish #49

@@ -47,7 +33,7 @@ main.o: main.cpp
$(CXX) $(CXXFLAGS) -c $< $(INCL)

#
# Enter to remove all created files.
# Enter to remove all created files
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about includes here?

Copy link
Contributor Author

@gkorepanov gkorepanov Apr 5, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added now. 147e15d

@pavelkryukov
Copy link
Member

Can you please squash all (or at least related) commits next time before sending pull request to simplify review process?

@gkorepanov
Copy link
Contributor Author

Yes, of course. Sorry, I'm just relatively new to the system and don't perceive it from the reviewers view. It's clear that it's quite inconvenient for you to review such a mess.

@pavelkryukov pavelkryukov merged commit 7a89ae2 into MIPT-ILab:master Apr 5, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants