diff options
author | Luke <fried.roadkill+ght@gmail.com> | 2017-10-02 19:16:52 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2017-10-10 04:31:49 (GMT) |
commit | c335c5f97b13adc8121bf2b55782bedc1a0b08e4 (patch) | |
tree | 4cd49edd3332f05049f3c73140a393a63cef8978 /src/freexl.mk | |
parent | 4f49515decda34f8803072f45ed70b60376855ad (diff) | |
download | mxe-c335c5f97b13adc8121bf2b55782bedc1a0b08e4.zip mxe-c335c5f97b13adc8121bf2b55782bedc1a0b08e4.tar.gz mxe-c335c5f97b13adc8121bf2b55782bedc1a0b08e4.tar.bz2 |
Update freexl for style.
Diffstat (limited to 'src/freexl.mk')
-rw-r--r-- | src/freexl.mk | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/freexl.mk b/src/freexl.mk index c3d00a9..736aa10 100644 --- a/src/freexl.mk +++ b/src/freexl.mk @@ -18,16 +18,16 @@ define $(PKG)_UPDATE endef define $(PKG)_BUILD - cd '$(1)' && ./configure \ + cd '$(SOURCE_DIR)' && ./configure \ $(MXE_CONFIGURE_OPTS) - $(MAKE) -C '$(1)' -j '$(JOBS)' $(MXE_DISABLE_PROGRAMS) - $(MAKE) -C '$(1)' -j 1 $(INSTALL_STRIP_LIB) + $(MAKE) -C '$(SOURCE_DIR)' -j '$(JOBS)' $(MXE_DISABLE_PROGRAMS) + $(MAKE) -C '$(SOURCE_DIR)' -j 1 $(INSTALL_STRIP_LIB) # the test program comes from the freexl sources itself (test_xl.c) - '$(TARGET)-g++' \ + '$(TARGET)-gcc' \ -W -Wall -Werror -ansi -pedantic \ - '$(1)/examples/test_xl.c' -o '$(PREFIX)/$(TARGET)/bin/test-freexl.exe' \ - `'$(TARGET)-pkg-config' $(PKG) --cflags --libs` -liconv + '$(SOURCE_DIR)/examples/test_xl.c' -o '$(PREFIX)/$(TARGET)/bin/test-freexl.exe' \ + `'$(TARGET)-pkg-config' $(PKG) --cflags --libs` # create a batch file to run the test program (as the test program requires arguments) (printf 'REM Run the test program against the provided .xls file.\r\n'; \ @@ -35,5 +35,5 @@ define $(PKG)_BUILD > '$(PREFIX)/$(TARGET)/bin/test-freexl.bat' # copy a test xls file to the target bin directory - cp -f '$(1)/tests/testdata/testcase1.xls' '$(PREFIX)/$(TARGET)/bin/test-freexl.xls' + cp -f '$(SOURCE_DIR)/tests/testdata/testcase1.xls' '$(PREFIX)/$(TARGET)/bin/test-freexl.xls' endef |