diff options
author | Volker Grabsch <vog@notjusthosting.com> | 2010-07-16 16:33:15 (GMT) |
---|---|---|
committer | Volker Grabsch <vog@notjusthosting.com> | 2010-07-16 16:33:15 (GMT) |
commit | 418bbeb8b92ffc950aa2030da4899104fd7320d4 (patch) | |
tree | 744a4a641dcd070026898744cefc16884b235bf0 /src/gd.mk | |
parent | 3b6d4a1d3805825e3dfd69221040416d8bda51c3 (diff) | |
download | mxe-418bbeb8b92ffc950aa2030da4899104fd7320d4.zip mxe-418bbeb8b92ffc950aa2030da4899104fd7320d4.tar.gz mxe-418bbeb8b92ffc950aa2030da4899104fd7320d4.tar.bz2 |
test program for package gd (by Tony Theodore)
Diffstat (limited to 'src/gd.mk')
-rw-r--r-- | src/gd.mk | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -36,4 +36,10 @@ define $(PKG)_BUILD CFLAGS='-DNONDLL -DXMD_H -L$(PREFIX)/$(TARGET)/lib' \ LIBS="`$(PREFIX)/$(TARGET)/bin/xml2-config --libs`" $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= + + '$(TARGET)-gcc' \ + -W -Wall -Werror -ansi -pedantic \ + '$(2).c' -o '$(PREFIX)/$(TARGET)/bin/test-gd.exe' \ + `'$(PREFIX)/$(TARGET)/bin/gdlib-config' --cflags` \ + -lgd `'$(PREFIX)/$(TARGET)/bin/gdlib-config' --libs` endef |