Merge pull request #114 from yamt/separate-target
Makefile: separate targets for platform dependent stuff
This commit is contained in:
commit
937b93a805
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
|
OPENCV_LIBS != pkg-config --libs opencv4
|
||||||
QUIRC_CXXFLAGS = $(QUIRC_CFLAGS) $(OPENCV_CFLAGS) --std=c++17
|
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
|
qrtest: tests/dbgutil.o tests/qrtest.o libquirc.a
|
||||||
$(CC) -o $@ tests/dbgutil.o tests/qrtest.o libquirc.a $(LDFLAGS) -lm -ljpeg -lpng
|
$(CC) -o $@ tests/dbgutil.o tests/qrtest.o libquirc.a $(LDFLAGS) -lm -ljpeg -lpng
|
||||||
|
|
Loading…
Reference in a new issue