updated makefile
This commit is contained in:
parent
914bb670dd
commit
ddf83a9e1d
3
Makefile
3
Makefile
|
@ -3,12 +3,13 @@ CCFLAGS = -std=c++14 -Wall
|
||||||
|
|
||||||
all: bin/imageviewer bin/smooth bin/edgedetect
|
all: bin/imageviewer bin/smooth bin/edgedetect
|
||||||
|
|
||||||
|
rebuild: clean all
|
||||||
|
|
||||||
imageviewer: bin/imageviewer
|
imageviewer: bin/imageviewer
|
||||||
smooth: bin/smooth
|
smooth: bin/smooth
|
||||||
edgedetect: bin/edgedetect
|
edgedetect: bin/edgedetect
|
||||||
|
|
||||||
%.o: src/%.cpp include/bild.hpp
|
%.o: src/%.cpp include/bild.hpp
|
||||||
@mkdir -p $(@D)
|
|
||||||
$(CC) -Iinclude -c $< -o $@ $(CCFLAGS)
|
$(CC) -Iinclude -c $< -o $@ $(CCFLAGS)
|
||||||
|
|
||||||
bin/%: %.o bild.o
|
bin/%: %.o bild.o
|
||||||
|
|
Loading…
Reference in a new issue