aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorgrischka <grischka>2011-08-06 16:11:12 +0200
committergrischka <grischka>2011-08-06 16:11:12 +0200
commit81cd0cf6fdcbdd1d38c1a9f317d04fdac287a1e5 (patch)
treed1d0015cd3ba90177e7c6eefd677a090287f7464 /Makefile
parent9ffd77f18d07c595e7bd1fcc032f3cbb7b09cc6f (diff)
downloadtinycc-81cd0cf6fdcbdd1d38c1a9f317d04fdac287a1e5.tar.gz
tinycc-81cd0cf6fdcbdd1d38c1a9f317d04fdac287a1e5.tar.bz2
configure: add switches to set search paths
--sysincludepaths=.. specify system include paths, colon separated" Sets CONFIG_TCC_SYSINCLUDEPATHS --libpaths=... specify system library paths, colon separated" Sets CONFIG_TCC_LIBPATHS --crtprefix=... specify location of crt?.o" Sets CONFIG_TCC_CRTPREFIX --elfinterp=... specify elf interpreter" Sets CONFIG_TCC_ELFINTERP Also the CONFIG_TCC_XXX were renamed to make them look more consistent. Also move the elf_interp definitions to tcc.h.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 453748c..2467f93 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_LIBPATH="\"\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_LIBPATH="\"\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