## Project specific variables PROG = test/test CXXSTD = c++11 HDRDIR = . ## Implicit variable defaults WARNFLAGS += -pedantic -Wall -Wextra -Werror CXXFLAGS += $(WARNFLAGS) -Weffc++ CXXFLAGS += -I$(HDRDIR) -std=$(CXXSTD) LDLIBS += -lglfw -lGLEW -lGL ## Build type CXXFLAGS += -g ## Files SRCS = shader.cpp HDRS = shader.hpp ## Standard targets .PHONY: all all: $(PROG) .PHONY: check check: test .PHONY: test test: $(PROG) cd $(