From c75af0c8e5fdf7792081f03ca8a01764953b19a4 Mon Sep 17 00:00:00 2001 From: pommicket Date: Wed, 23 Feb 2022 22:37:01 -0800 Subject: coda --- 05/musl-0.6.0/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to '05/musl-0.6.0/Makefile') 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) -- cgit v1.2.3