Bildverarbeitung2/Makefile
2022-01-22 13:40:00 +01:00

22 lines
327 B
Makefile

CC = g++
CCFLAGS = -std=c++14 -Wall
all: bin/imageviewer bin/smooth bin/edgedetect
rebuild: clean all
imageviewer: bin/imageviewer
smooth: bin/smooth
edgedetect: bin/edgedetect
%.o: src/%.cpp include/bild.hpp
$(CC) -Iinclude -c $< -o $@ $(CCFLAGS)
bin/%: %.o bild.o
@mkdir -p $(@D)
$(CC) $^ -o $@
clean:
@rm -rf bin