Makefile 165 B

1234567
  1. CXXFLAGS = -std=c++11 `pkg-config --cflags armadillo`
  2. LDFLAGS = `pkg-config --libs armadillo`
  3. all: test.out
  4. %.out: %.cpp
  5. $(CXX) $(CXXFLAGS) -o $@ $(LDFLAGS) $<