blob: b22f613659f24e22bfc05bc3665e4938ed1f08d3 (
plain) (
tree)
|
|
CXX = clang++
CXXFLAGS = -Iinclude -std=c++17 -Wall -Wextra -Wpedantic
CXXFLAGS += -march=native -mtune=native -O3
LDFLAGS = -lSDL2
HDRS_CXX = \
src/fractal.hh \
src/fractData.hh \
src/genf.hh \
src/mansdl.hh
SRCS_CXX = \
src/genf-burningShip.cc \
src/genf-julia.cc \
src/genf-mandelbrot.cc \
src/genf-mandelbrot3.cc \
src/genf-mandelbrot4.cc \
src/genf-mandelbrot5.cc \
src/genf-tricorn.cc \
src/main.cc \
src/mansdl-applyArgs.cc \
src/mansdl-checkEvent.cc \
src/mansdl-genf.cc \
src/mansdl-init.cc
OBJS_CXX=$(SRCS_CXX:.cc=.o)
OBJS=$(OBJS_CXX)
mansdl: $(OBJS_CXX)
$(CXX) $(LDFLAGS) -o $@ $(OBJS_CXX)
$(OBJS_CXX): $(HDRS_CXX) $(SRCS_CXX)
.PHONY: clean
clean:
rm mansdl $(OBJS)
|