Skip to content
Snippets Groups Projects
Commit 876b1cc1 authored by Marcus M. Darden's avatar Marcus M. Darden
Browse files

Use $(EXECUTABLE).cpp for default main() file if project*.cpp is not found.

parent 710a34af
No related branches found
No related tags found
No related merge requests found
......@@ -49,7 +49,7 @@ OBJECTS = $(SOURCES:%.cpp=%.o)
# TODO
# If main() is in a file named project*.cpp, use the following line
PROJECTFILE = $(or $(wildcard project*.cpp), nomain.cpp)
PROJECTFILE = $(or $(wildcard project*.cpp), $(EXECUTABLE).cpp)
# TODO
# If main() is in another file delete line above, edit and uncomment below
#PROJECTFILE = mymainfile.cpp
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment