diff options
| author | Henry Kroll III <henry@comptune.com> | 2010-04-24 21:58:12 -0700 |
|---|---|---|
| committer | Henry Kroll III <henry@comptune.com> | 2010-04-24 22:16:39 -0700 |
| commit | 239fdf0b87dee8b8197fea872f437aec551eb470 (patch) | |
| tree | e63cac08045130a7a191fec8d2b8e302d85588c9 /make_libtcc1_win32.sh | |
| parent | 80b4c698c24e715b666d36176e6cba2cdd009eb2 (diff) | |
| download | tinycc-239fdf0b87dee8b8197fea872f437aec551eb470.tar.gz tinycc-239fdf0b87dee8b8197fea872f437aec551eb470.tar.bz2 | |
remove make_libtcc1_win32.sh shell script
and merge commands into Makefile
Diffstat (limited to 'make_libtcc1_win32.sh')
| -rwxr-xr-x | make_libtcc1_win32.sh | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/make_libtcc1_win32.sh b/make_libtcc1_win32.sh deleted file mode 100755 index a13203f..0000000 --- a/make_libtcc1_win32.sh +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/bash -a=$(mktemp) -b=$(mktemp) -c=$(mktemp) -cp config.h $a -cp config.mak $b -# force 386 build on x86_64 -./configure --cpu=x86 -# configure doesn't provide a way to set tccdir -tccdir=$(grep TCCDIR $a|awk '{gsub("\"","",$3);print $3}') -grep -v CONFIG_TCCDIR $a > $c -echo "#define CONFIG_TCCDIR \"${tccdir}/win32\"" >> $c -mv $c config.h -make i386-win32-tcc -mv i386-win32-tcc tcc.exe -sync -make CONFIG_WIN32=1 libtcc1.a -cp include/* win32/include -mv libtcc1.a win32/lib -mv $a config.h -mv $b config.mak -rm tcc.exe |
