Using nmake, is it possible for the makefile to fully compile all .cpp files in the current directory without specifying separately?
So, instead of something like:
O = $(OBJ_DIR)/main.obj
{$(SOURCE_DIR)}.cpp{$(OBJ_DIR)}.obj:
---COMPILE $< HERE---
I would like not to specify every obj object. It can be done?
Andrew
source
share