blob: b22f613659f24e22bfc05bc3665e4938ed1f08d3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
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)
|