-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
21 lines (18 loc) · 872 Bytes
/
Makefile
File metadata and controls
21 lines (18 loc) · 872 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
CXX = clang++
CFLAGS = -g -Wall -Wextra -Werror -Weffc++ -pedantic-errors -std=c++17
DEPS = BlackOlives.hpp Cheese.hpp CheesePizza.hpp ChicagoPizzaIngredientFactory.hpp \
ChicagoPizzaStore.hpp ClamPizza.hpp Clams.hpp Dough.hpp Eggplant.hpp \
FreshClams.hpp FrozenClams.hpp Garlic.hpp Makefile MarinaraSauce.hpp \
MozzarellaCheese.hpp Mushroom.hpp NYPizzaIngredientFactory.hpp NYPizzaStore.hpp \
Onion.hpp ParmesanCheese.hpp Pepperoni.hpp PepperoniPizza.hpp Pizza.hpp \
PizzaIngredientFactory.hpp PizzaStore.hpp PlumTomatoSauce.hpp RedPepper.hpp \
ReggianoCheese.hpp Sauce.hpp SlicedPepperoni.hpp Spinach.hpp ThickCrustDough.hpp \
ThinCrustDough.hpp VeggiePizza.hpp Veggies.hpp
TARGET = pizzaTestDrive
OBJ = $(TARGET).o
%.o: %.cpp $(DEPS)
$(CXX) -c -o $@ $< $(CFLAGS)
$(TARGET): $(OBJ)
$(CXX) -o $@ $^ $(CFLAGS)
clean:
rm -f *.o $(TARGET)