Added makefile for creational design patterns.

This commit is contained in:
Ian Dinwoodie
2019-05-16 17:44:26 -04:00
parent 1e428d92a4
commit 9af1dde2eb

View File

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