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
......@@ -49,7 +49,7 @@ OBJECTS = $(SOURCES:%.cpp=%.o)
# 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)
# If main() is in another file delete line above, edit and uncomment below
#PROJECTFILE = mymainfile.cpp
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment