diff options
Diffstat (limited to 'src/qjson.mk')
-rw-r--r-- | src/qjson.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/qjson.mk b/src/qjson.mk index 76e2659..375918d 100644 --- a/src/qjson.mk +++ b/src/qjson.mk @@ -22,4 +22,9 @@ define $(PKG)_BUILD -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' $(MAKE) -C '$(1)/build' -j '$(JOBS)' install + + '$(TARGET)-g++' \ + -W -Wall -Werror -ansi -pedantic \ + '$(2).cpp' -o '$(PREFIX)/$(TARGET)/bin/test-$(PKG).exe' \ + `'$(TARGET)-pkg-config' QJson --cflags --libs` endef |