summaryrefslogtreecommitdiff
path: root/05/musl-0.6.0/Makefile
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2022-02-23 22:37:01 -0800
committerpommicket <pommicket@gmail.com>2022-02-23 22:37:01 -0800
commitc75af0c8e5fdf7792081f03ca8a01764953b19a4 (patch)
tree811fcdb32086c0b5b4a41f18031c8fcde65ca4b6 /05/musl-0.6.0/Makefile
parent9bc8a11afeed3569736b89754012e3ca22ee10f6 (diff)
coda
Diffstat (limited to '05/musl-0.6.0/Makefile')
-rw-r--r--05/musl-0.6.0/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/05/musl-0.6.0/Makefile b/05/musl-0.6.0/Makefile
index 28233b8..9d40be5 100644
--- a/05/musl-0.6.0/Makefile
+++ b/05/musl-0.6.0/Makefile
@@ -8,6 +8,7 @@
# Do not make changes here.
#
+CC = ../tcc-0.9.27/tcc0
exec_prefix = /usr/local/musl-bootstrap
bindir = $(exec_prefix)/bin
@@ -16,7 +17,7 @@ includedir = $(prefix)/include
libdir = $(prefix)/lib
SRCS = $(sort $(wildcard src/*/*.c))
-OBJS = $(SRCS:.c=.o) src/alloca86_64-bt.o src/alloca86_64.o src/libtcc1.o src/va_list.o src/syscall56.o
+OBJS = $(SRCS:.c=.o) src/alloca86_64-bt.o src/alloca86_64.o src/libtcc1.o src/va_list.o src/syscall.o
LOBJS = $(OBJS:.o=.lo)
GENH = include/bits/alltypes.h
@@ -44,9 +45,10 @@ all: $(ALL_LIBS) $(ALL_TOOLS)
install: $(ALL_LIBS:lib/%=$(DESTDIR)$(libdir)/%) $(ALL_INCLUDES:include/%=$(DESTDIR)$(includedir)/%) $(ALL_TOOLS:tools/%=$(DESTDIR)$(bindir)/%)
-src/syscall56.o: src/syscall56.s
+src/syscall.o: src/syscall.s
$(CC) -c -o $@ $<
-
+src/%.o: ../tcc-0.9.27/lib/%.o
+ cp $< $@
clean:
rm -f crt/*.o
rm -f $(OBJS)