mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 07:17:34 +00:00
Toolchain: Useit.sh finish and added an install target for the libc's Makefile and a bit of ground work for a gcc port
This commit is contained in:
parent
8ac813135a
commit
4977fd22b8
7 changed files with 23 additions and 2 deletions
|
@ -77,3 +77,11 @@ $(LIBRARY): $(CPP_OBJS) $(ASM_OBJS)
|
|||
clean:
|
||||
@echo "CLEAN"; rm -f $(LIBRARY) $(CPP_OBJS) $(ASM_OBJS) *.d
|
||||
|
||||
install: $(LIBRARY)
|
||||
# Copy headers
|
||||
rsync -a --include '*/' --include '*.h' --exclude '*' . ../Base/usr/include
|
||||
# Install the library
|
||||
cp $(LIBRARY) ../Base/usr/lib
|
||||
cp crt0.o ../Base/usr/lib/
|
||||
cp crti.ao ../Base/usr/lib/crti.o
|
||||
cp crtn.ao ../Base/usr/lib/crtn.o
|
Loading…
Add table
Add a link
Reference in a new issue