aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorgrischka <grischka>2011-08-11 16:55:30 +0200
committergrischka <grischka>2011-08-11 16:55:30 +0200
commit74a24d77fd9c08ad9a6b3b6c0f434c7314dae639 (patch)
tree4cae2ee70148c10aeedf322a24ac06a626a6249d /Makefile
parentfd0cea8895c3d253644fee51f50da9ff94fe83a3 (diff)
downloadtinycc-74a24d77fd9c08ad9a6b3b6c0f434c7314dae639.tar.gz
tinycc-74a24d77fd9c08ad9a6b3b6c0f434c7314dae639.tar.bz2
libtcc: minor adjustments
- use {B} to substitute tcc_lih_path (instead of \b) - expand CONFIG_TCC_CRTPREFIX in CONFIG_TCC_LIBPATHS which fixes duplicate CONFIG_SYSROOT. - put default CONFIG_SYSROOT ("") into tcc.h - remove hack from commit db6fcce78f4d8ea25036dd6643e9fa83d8e52e5a because $(tccdir)/include is already in sysincludes - configure: error out for unrecognized options. - win32/build-tcc.bat: put libtcc into base dir where it will find lib/include automatically, and build libtcc_test example.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 2467f93..43d7cfd 100644
--- a/Makefile
+++ b/Makefile
@@ -164,10 +164,10 @@ $(I386_CROSS): DEFINES = -DTCC_TARGET_I386 \
$(X64_CROSS): DEFINES = -DTCC_TARGET_X86_64
$(WIN32_CROSS): DEFINES = -DTCC_TARGET_I386 -DTCC_TARGET_PE \
-DCONFIG_TCCDIR="\"$(tccdir)/win32\"" \
- -DCONFIG_TCC_LIBPATHS="\"\b/lib/32;\b/lib\""
+ -DCONFIG_TCC_LIBPATHS="\"{B}/lib/32;{B}/lib\""
$(WIN64_CROSS): DEFINES = -DTCC_TARGET_X86_64 -DTCC_TARGET_PE \
-DCONFIG_TCCDIR="\"$(tccdir)/win32\"" \
- -DCONFIG_TCC_LIBPATHS="\"\b/lib/64;\b/lib\""
+ -DCONFIG_TCC_LIBPATHS="\"{B}/lib/64;{B}/lib\""
$(WINCE_CROSS): DEFINES = -DTCC_TARGET_PE
$(C67_CROSS): DEFINES = -DTCC_TARGET_C67
$(ARM_FPA_CROSS): DEFINES = -DTCC_TARGET_ARM