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.
arma-flow/Makefile

17 lines
380 B
Makefile
Raw Permalink Normal View History

2018-04-05 11:01:10 +00:00
SOURCES = $(wildcard src/*.cpp)
OBJECTS = $(SOURCES:%.cpp=%.o)
APPLICATION = arma-flow
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}:
${CXX} ${CXXFLAGS} -o $@ ${@:%.o=%.cpp}
2018-04-05 11:01:10 +00:00
clean:
rm -f ${APPLICATION} ${OBJECTS}