Added makefile for structural design patterns.

This commit is contained in:
Ian Dinwoodie
2019-05-18 10:18:15 -04:00
parent cddc19193f
commit d9e9fc3ad6
2 changed files with 14 additions and 1 deletions

View File

@@ -0,0 +1,13 @@
targets = $(basename $(wildcard *.cpp))
CXXFLAGS= -std=c++11 -g -Wall -Werror
all: $(targets)
$(targets): %: %.cpp
$(CXX) $(CXXFLAGS) -o $@ $^
clean:
$(RM) $(targets)
.PHONY: all clean