mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 16:37:47 +00:00
Toolchain: Make sure everything ends up in the right place in Root/
This commit is contained in:
parent
758e926b99
commit
81a280da87
3 changed files with 31 additions and 15 deletions
|
@ -79,10 +79,12 @@ clean:
|
|||
@echo "CLEAN"; rm -f $(LIBRARY) $(CPP_OBJS) $(ASM_OBJS) *.d
|
||||
|
||||
install: $(LIBRARY)
|
||||
mkdir -p ../Root/usr/include
|
||||
mkdir -p ../Root/usr/lib
|
||||
# Copy headers
|
||||
rsync -a --include '*/' --include '*.h' --exclude '*' . ../Base/usr/include
|
||||
rsync -r -a --include '*/' --include '*.h' --exclude '*' . ../Root/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
|
||||
cp $(LIBRARY) ../Root/usr/lib
|
||||
cp crt0.o ../Root/usr/lib/
|
||||
cp crti.ao ../Root/usr/lib/crti.o
|
||||
cp crtn.ao ../Root/usr/lib/crtn.o
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue