Makefile: Add inspect-opencv target
This commit is contained in:
parent
633ed29ad9
commit
85d4a7db29
1 changed files with 4 additions and 0 deletions
4
Makefile
4
Makefile
|
@ -47,6 +47,9 @@ qrtest: tests/dbgutil.o tests/qrtest.o libquirc.a
|
||||||
inspect: tests/dbgutil.o tests/inspect.o libquirc.a
|
inspect: tests/dbgutil.o tests/inspect.o libquirc.a
|
||||||
$(CC) -o $@ tests/dbgutil.o tests/inspect.o libquirc.a $(LDFLAGS) -lm -ljpeg -lpng $(SDL_LIBS) -lSDL_gfx
|
$(CC) -o $@ tests/dbgutil.o tests/inspect.o libquirc.a $(LDFLAGS) -lm -ljpeg -lpng $(SDL_LIBS) -lSDL_gfx
|
||||||
|
|
||||||
|
inspect-opencv: tests/dbgutil.o tests/inspect_opencv.o libquirc.a
|
||||||
|
$(CXX) -o $@ tests/dbgutil.o tests/inspect_opencv.o libquirc.a $(LDFLAGS) -lm -ljpeg -lpng $(OPENCV_LIBS)
|
||||||
|
|
||||||
quirc-demo: $(DEMO_OBJ) $(DEMO_UTIL_OBJ) demo/demo.o libquirc.a
|
quirc-demo: $(DEMO_OBJ) $(DEMO_UTIL_OBJ) demo/demo.o libquirc.a
|
||||||
$(CC) -o $@ $(DEMO_OBJ) $(DEMO_UTIL_OBJ) demo/demo.o libquirc.a $(LDFLAGS) -lm -ljpeg $(SDL_LIBS) -lSDL_gfx
|
$(CC) -o $@ $(DEMO_OBJ) $(DEMO_UTIL_OBJ) demo/demo.o libquirc.a $(LDFLAGS) -lm -ljpeg $(SDL_LIBS) -lSDL_gfx
|
||||||
|
|
||||||
|
@ -98,6 +101,7 @@ clean:
|
||||||
rm -f libquirc.so.$(LIB_VERSION)
|
rm -f libquirc.so.$(LIB_VERSION)
|
||||||
rm -f qrtest
|
rm -f qrtest
|
||||||
rm -f inspect
|
rm -f inspect
|
||||||
|
rm -f inspect-opencv
|
||||||
rm -f quirc-demo
|
rm -f quirc-demo
|
||||||
rm -f quirc-demo-opencv
|
rm -f quirc-demo-opencv
|
||||||
rm -f quirc-scanner
|
rm -f quirc-scanner
|
||||||
|
|
Loading…
Reference in a new issue