1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 02:57:44 +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:
VAN BOSSUYT Nicolas 2019-04-17 17:29:45 +02:00 committed by Andreas Kling
parent 8ac813135a
commit 4977fd22b8
7 changed files with 23 additions and 2 deletions

View file

@ -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