aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenry Kroll III <henry@comptune.com>2010-11-30 16:17:37 -0800
committerHenry Kroll III <henry@comptune.com>2010-11-30 16:17:37 -0800
commit165d1366146f8431fef939edb63ba10b92200435 (patch)
tree0308705b81ef52f049ecd374983cfb47af1a8ae6
parent93ef24e6feaa7d859d0b7b71a5e16758c6e8ce2a (diff)
downloadtinycc-165d1366146f8431fef939edb63ba10b92200435.tar.gz
tinycc-165d1366146f8431fef939edb63ba10b92200435.tar.bz2
Makefile: cleanup leftovers on cross build. really works now
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 84103ac..77d1d90 100644
--- a/Makefile
+++ b/Makefile
@@ -207,6 +207,7 @@ VPATH+=lib
# use cross-compilers to bootstrap libtcc1-winxx.a on Linux
# ar t *.a can list the ELF objects in archive for debugging
LinuxWinCrossLibs: $(WIN32_CROSS) $(WIN64_CROSS)
+ -rm -f crt1.o wincrt1.o dllcrt1.o dllmain.o chkstk.o bcheck.o
$(MAKE) TCC=$(WIN32_CROSS) LIBTCC1_DIR=win32/lib ARCH=i386 \
CONFIG_WIN32=1 LIBTCC1=libtcc1-win32.a ./win32/lib/libtcc1-win32.a
-rm -f crt1.o wincrt1.o dllcrt1.o dllmain.o chkstk.o bcheck.o