|
CXX = g++
|
|
|
|
CXXFLAGS = -std=c++11 -Wall
|
|
|
|
TARGET = FramebufferFun
|
|
|
|
SRCS = main.cpp framebuffer.cpp
|
|
|
|
OBJS = $(SRCS:.cpp=.o)
|
|
|
|
$(TARGET): $(OBJS)
|
|
$(CXX) $(CXXFLAGS) $(OBJS) -o $(TARGET)
|
|
|
|
%.o: %.cpp
|
|
$(CXX) $(CXXFLAGS) -c $< -o $@
|
|
|
|
clean:
|
|
rm -f $(OBJS) $(TARGET)
|
|
|
|
.PHONY: clean
|