package hdf5: rename test program and re-style test invocation

This commit is contained in:
Tony Theodore 2013-02-09 15:20:20 +11:00
parent fada0957e7
commit 36555723f5
2 changed files with 4 additions and 2 deletions

View File

@ -36,6 +36,8 @@ define $(PKG)_BUILD
$(MAKE) -C '$(1)'/hl/c++/src -j 1 install
## test hdf5
'$(TARGET)-g++' -W -Wall -ansi '$(2).c' -o '$(PREFIX)/$(TARGET)/bin/test-hdf5.exe' -lhdf5_hl -lhdf5 -lz
'$(TARGET)-g++' \
-W -Wall -Werror -ansi -pedantic \
'$(2).cpp' -o '$(PREFIX)/$(TARGET)/bin/test-hdf5.exe' \
-lhdf5_hl -lhdf5 -lz
endef