mirror of
https://github.com/iandinwoodie/cpp-design-patterns-for-humans.git
synced 2025-12-17 04:24:40 +03:00
Added makefile for creational design patterns.
This commit is contained in:
11
examples/creational/Makefile
Normal file
11
examples/creational/Makefile
Normal 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)
|
||||||
Reference in New Issue
Block a user