diff options
| author | jiang <30155751@qq.com> | 2014-04-30 17:35:44 +0800 |
|---|---|---|
| committer | jiang <30155751@qq.com> | 2014-04-30 17:35:44 +0800 |
| commit | ba61fd9cd1367589aad7e8056821f88f2e5b550b (patch) | |
| tree | 2f9962d155b37715a634521237442043436d0cd8 /lib/Makefile | |
| parent | 5af0ea7fb8d6b2b2a2d3833caad5eda4b43ef595 (diff) | |
| download | tinycc-ba61fd9cd1367589aad7e8056821f88f2e5b550b.tar.gz tinycc-ba61fd9cd1367589aad7e8056821f88f2e5b550b.tar.bz2 | |
rename libtcc1.c
Diffstat (limited to 'lib/Makefile')
| -rw-r--r-- | lib/Makefile | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/Makefile b/lib/Makefile index e9e12f1..4bf2c7e 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -1,5 +1,5 @@ # -# Tiny C Compiler Makefile for libtcc1.a +# Tiny C Compiler Makefile for libcrt.a # TOP = .. @@ -38,15 +38,15 @@ endif DIR = $(TARGET) -native : ../libtcc1.a -cross : $(DIR)/libtcc1.a +native : ../libcrt.a +cross : $(DIR)/libcrt.a native : TCC = $(TOP)/tcc$(EXESUF) cross : TCC = $(TOP)/$(TARGET)-tcc$(EXESUF) -I386_O = libtcc1.o alloca86.o alloca86-bt.o $(BCHECK_O) -X86_64_O = libtcc1.o alloca86_64.o -ARM_O = libtcc1.o armeabi.o alloca-arm.o +I386_O = libcrt.o alloca86.o alloca86-bt.o $(BCHECK_O) +X86_64_O = libcrt.o alloca86_64.o +ARM_O = libcrt.o armeabi.o alloca-arm.o WIN32_O = $(I386_O) crt1.o wincrt1.o dllcrt1.o dllmain.o chkstk.o WIN64_O = $(X86_64_O) crt1.o wincrt1.o dllcrt1.o dllmain.o chkstk.o @@ -83,7 +83,7 @@ ifeq "$(TARGET)" "arm" TGT = -DTCC_TARGET_ARM XCC ?= $(TCC) -B$(TOP) else - $(error libtcc1.a not supported on target '$(TARGET)') + $(error libcrt.a not supported on target '$(TARGET)') endif endif endif @@ -102,7 +102,7 @@ ifdef XAR AR = $(XAR) endif -$(DIR)/libtcc1.a ../libtcc1.a : $(OBJ) $(XAR) +$(DIR)/libcrt.a ../libcrt.a : $(OBJ) $(XAR) $(AR) rcs $@ $(OBJ) $(DIR)/%.o : %.c $(XCC) -c $< -o $@ $(XFLAGS) |
