mirror of
https://github.com/mirror/tinycc.git
synced 2024-12-28 04:00:06 +08:00
Makefile: add dependencies for $($(I386_CROSS)_LINK), ...
This is another solution for the make process.
Commit 4b92dbf923
is reverted.
This commit is contained in:
parent
883aafc6bb
commit
65a4fbd1d4
15
Makefile
15
Makefile
@ -158,8 +158,6 @@ endif
|
||||
|
||||
all: $(PROGS) $(TCCLIBS) $(TCCDOCS)
|
||||
|
||||
$(PROGS) $(TCCLIBS): *.c *.h
|
||||
|
||||
# Host Tiny C Compiler
|
||||
tcc$(EXESUF): tcc.o $(LIBTCC)
|
||||
$(CC) -o $@ $^ $(LIBS) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) $(LINK_LIBTCC)
|
||||
@ -190,13 +188,14 @@ $(ARM_VFP_CROSS): DEFINES = -DTCC_TARGET_ARM -DTCC_ARM_VFP
|
||||
$(ARM_EABI_CROSS): DEFINES = -DTCC_TARGET_ARM -DTCC_ARM_EABI -DTCC_ARM_VFP
|
||||
$(ARM64_CROSS): DEFINES = -DTCC_TARGET_ARM64
|
||||
|
||||
$(I386_CROSS): $(I386_FILES)
|
||||
$(X64_CROSS): $(X86_64_FILES)
|
||||
$(WIN32_CROSS): $(WIN32_FILES)
|
||||
$(WIN64_CROSS): $(WIN64_FILES)
|
||||
$(WINCE_CROSS): $(WINCE_FILES)
|
||||
$(C67_CROSS): $(C67_FILES)
|
||||
$(I386_CROSS) $($(I386_CROSS)_LINK): $(I386_FILES)
|
||||
$(X64_CROSS) $($(X64_CROSS)_LINK): $(X86_64_FILES)
|
||||
$(WIN32_CROSS) $($(WIN32_CROSS)_LINK): $(WIN32_FILES)
|
||||
$(WIN64_CROSS) $($(WIN64_CROSS)_LINK): $(WIN64_FILES)
|
||||
$(WINCE_CROSS) $($(WINCE_CROSS)_LINK): $(WINCE_FILES)
|
||||
$(C67_CROSS) $($(C67_CROSS)_LINK): $(C67_FILES)
|
||||
$(ARM_FPA_CROSS) $(ARM_FPA_LD_CROSS) $(ARM_VFP_CROSS) $(ARM_EABI_CROSS): $(ARM_FILES)
|
||||
$($(ARM_FPA_CROSS)_LINK) $($(ARM_FPA_LD_CROSS)_LINK) $($(ARM_VFP_CROSS)_LINK) $($(ARM_EABI_CROSS)_LINK): $(ARM_FILES)
|
||||
$(ARM64_CROSS): $(ARM64_FILES)
|
||||
|
||||
# libtcc generation and test
|
||||
|
Loading…
Reference in New Issue
Block a user