Makefile
branchv_0
changeset 5 ee4ba9f5a053
parent 1 fb65455622b9
child 7 e6065118326f
equal deleted inserted replaced
4:9aba96f0b001 5:ee4ba9f5a053
    24 	$(<) --texture build/jazz.png
    24 	$(<) --texture build/jazz.png
    25 
    25 
    26 build:
    26 build:
    27 	mkdir -p $(@)
    27 	mkdir -p $(@)
    28 	
    28 	
    29 SRC=Shark.cpp shader-shark.cpp ImageLoader.cpp
    29 SRC=Shark.cpp shader-shark.cpp ImageLoader.cpp Shader.cpp Program.cpp
    30 
    30 
    31 build/shader-shark: $(SRC) build *.h
    31 build/shader-shark: $(SRC) build *.h
    32 	$(CXX) -std=c++20 -g -o $(@) $(SRC) $$(pkg-config --cflags --libs \
    32 	$(CXX) -std=c++20 -g -o $(@) $(SRC) $$(pkg-config --cflags --libs \
    33 	    epoxy x11 glu glm Magick++)
    33 	    epoxy x11 glu glm Magick++)
    34 
    34