diff options
| author | grischka <grischka> | 2017-02-20 18:58:08 +0100 |
|---|---|---|
| committer | grischka <grischka> | 2017-02-20 18:58:08 +0100 |
| commit | 5f33d313c8a2455ff9036cd7f7028339bdbde622 (patch) | |
| tree | e620f3c5a67e0f785046ee188ffbd00e593c2212 /win32/Makefile | |
| parent | 399237850d87be8ef1179d2592ade660152aaabc (diff) | |
| download | tinycc-5f33d313c8a2455ff9036cd7f7028339bdbde622.tar.gz tinycc-5f33d313c8a2455ff9036cd7f7028339bdbde622.tar.bz2 | |
tcc: re-enable correct option -r support
Forgot about it. It allows to compile several
sources (and other .o's) to one single .o file;
tcc -r -o all.o f1.c f2.c f3.S o4.o ...
Also:
- option -fold-struct-init-code removed, no effect anymore
- (tcc_)set_environment() moved to tcc.c
- win32/lib/(win)crt1 minor fix & add dependency
- debug line output for asm (tcc -c -g xxx.S) enabled
- configure/Makefiles: x86-64 -> x86_64 changes
- README: cleanup
Diffstat (limited to 'win32/Makefile')
| -rw-r--r-- | win32/Makefile | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/win32/Makefile b/win32/Makefile index 19c9ee4..1a5582f 100644 --- a/win32/Makefile +++ b/win32/Makefile @@ -24,11 +24,9 @@ TARGET = $(CPU) ifeq ($(TARGET), 64) TFLAGS = -m$(TARGET) -DTCC_TARGET_X86_64 TARCH = x86_64 -CARCH = x86-64 else TFLAGS = -m$(TARGET) -DTCC_TARGET_I386 TARCH = i386 -CARCH = i386 endif all: pre bootstrap libs rebuild @@ -36,7 +34,7 @@ all: pre bootstrap libs rebuild @ls -ls *.exe pre: - @echo ARCH=$(CARCH) 1> ../config.mak + @echo ARCH=$(TARCH) 1> ../config.mak @echo TARGETOS=Windows 1>> ../config.mak @echo CONFIG_WIN32=yes 1>> ../config.mak @echo TOPSRC=$$\(TOP\) 1>> ../config.mak |
