This repository has been archived on 2018-12-13. You can view files and clone it, but cannot push or open issues or pull requests.
2018-04-05 11:01:10 +00:00
|
|
|
SOURCES = $(wildcard src/*.cpp)
|
|
|
|
OBJECTS = $(SOURCES:%.cpp=%.o)
|
|
|
|
APPLICATION = arma-flow
|
2018-12-13 12:52:46 +00:00
|
|
|
CXXFLAGS = -Wall -c -O2 -std=c++17
|
2018-06-06 19:30:09 +00:00
|
|
|
LDFLAGS = -larmadillo -ljanus -lstdc++fs
|
2018-04-05 11:01:10 +00:00
|
|
|
|
|
|
|
all: ${OBJECTS} ${APPLICATION}
|
|
|
|
|
|
|
|
${APPLICATION}: ${OBJECTS}
|
|
|
|
${CXX} -o $@ ${OBJECTS} ${LDFLAGS}
|
|
|
|
|
|
|
|
${OBJECTS}:
|
2018-12-13 12:52:46 +00:00
|
|
|
${CXX} ${CXXFLAGS} -o $@ ${@:%.o=%.cpp}
|
2018-04-05 11:01:10 +00:00
|
|
|
|
|
|
|
clean:
|
2018-12-13 12:52:46 +00:00
|
|
|
rm -f ${APPLICATION} ${OBJECTS}
|