Add numerics to build system
Successfully compiles and runs!
This commit is contained in:
2
Makefile
2
Makefile
@@ -17,7 +17,7 @@ endif
|
|||||||
|
|
||||||
SRC=src
|
SRC=src
|
||||||
DIST=build
|
DIST=build
|
||||||
CODE=$(addprefix $(SRC)/, ) # add source files here
|
CODE=$(addprefix $(SRC)/, numerics.cpp) # add source files here
|
||||||
OBJECTS=$(CODE:$(SRC)/%.cpp=$(DIST)/%.o)
|
OBJECTS=$(CODE:$(SRC)/%.cpp=$(DIST)/%.o)
|
||||||
DEPDIR:=$(DIST)/dependencies
|
DEPDIR:=$(DIST)/dependencies
|
||||||
DEPS:=$(CODE:$(SRC)/%.cpp=$(DEPDIR):%.d) $(DEPDIR)/main.d
|
DEPS:=$(CODE:$(SRC)/%.cpp=$(DEPDIR):%.d) $(DEPDIR)/main.d
|
||||||
|
|||||||
Reference in New Issue
Block a user