Makefile: separate targets for platform dependent stuff (v4l, sdl, opencv)
This commit is contained in:
parent
891550cd82
commit
50e2899ea8
1 changed files with 9 additions and 1 deletions
10
Makefile
10
Makefile
|
@ -39,7 +39,15 @@ OPENCV_CFLAGS != pkg-config --cflags opencv4
|
|||
OPENCV_LIBS != pkg-config --libs opencv4
|
||||
QUIRC_CXXFLAGS = $(QUIRC_CFLAGS) $(OPENCV_CFLAGS) --std=c++17
|
||||
|
||||
all: libquirc.so qrtest inspect quirc-demo quirc-scanner
|
||||
.PHONY: all v4l sdl opencv install uninstall clean
|
||||
|
||||
all: libquirc.so qrtest
|
||||
|
||||
v4l: quirc-scanner
|
||||
|
||||
sdl: inspect quirc-demo
|
||||
|
||||
opencv: inspect-opencv quirc-demo-opencv
|
||||
|
||||
qrtest: tests/dbgutil.o tests/qrtest.o libquirc.a
|
||||
$(CC) -o $@ tests/dbgutil.o tests/qrtest.o libquirc.a $(LDFLAGS) -lm -ljpeg -lpng
|
||||
|
|
Loading…
Reference in a new issue