Commit graph

12 commits

Author SHA1 Message Date
YAMAMOTO Takashi
ef1b97015e Makefile: quirc-demo-opencv doesn't use libjpeg 2021-04-08 09:49:14 +09:00
YAMAMOTO Takashi
679e43f144 quirc-demo-opencv: Add OpenCV version of the demo
My motivation is to experiment quirc on macOS, where
neither of SDL1 or V4L2 work.

```
% brew install opencv
% brew install pkg-config
% brew install bsdmake
% bsdmake quirc-demo-opencv
% ./quirc-demo-opencv
```

Note: the macOS version of GNU make (/usr/bin/make) is a bit old
for quirc's Makefile.
2021-03-22 10:13:33 +09:00
Dmitrij D. Czarkoff
47f99adf28 Move -fPIC to default CFLAGS 2016-08-11 12:25:08 +02:00
Dmitrij D. Czarkoff
f7549f0948 Avoid '$^' variable
GNU make extension, which is not supported by other make programs.
2016-08-11 11:35:55 +02:00
Dmitrij D. Czarkoff
3731dc0b46 Use proper inference rules 2016-08-11 11:34:13 +02:00
Dmitrij D. Czarkoff
38b491c9ba Allow specifying linker flags 2016-08-11 00:30:47 +02:00
Dmitrij D. Czarkoff
1bd6d0f5f0 Allow overriding default CFLAGS 2016-08-11 00:29:21 +02:00
Dmitrij D. Czarkoff
4206849da9 Fix shared library instructions 2016-08-11 00:32:09 +02:00
Dmitrij D. Czarkoff
35b50246f4 Avoid '$(shell ...)' macro
$(shell ...) macro is a GNU make extension.  GNU make also supports `!=`
operator, which is more portable.
2016-08-11 00:21:17 +02:00
Dmitrij D. Czarkoff
22cd4d061c Don't compile objects twice
PIC objects can be used for static library as well, so there is no reason to
build two sets of objects.
2016-08-11 00:18:58 +02:00
Alexandre Perrin
549f5b2c4d png support for inspect and qrtest. 2016-07-12 09:34:11 +02:00
Daniel Beer
a3142bc6b4 Initial commit: version 1.0. 2012-05-04 12:58:42 +12:00