1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 10:57:35 +00:00

Libraries: Unbreak "make install" with new directory locations.

This commit is contained in:
Andreas Kling 2019-07-04 16:41:42 +02:00
parent 04b9dc2d30
commit 8b0953a795
5 changed files with 21 additions and 21 deletions

View file

@ -83,12 +83,12 @@ clean:
@echo "CLEAN"; rm -f $(LIBRARY) $(CPP_OBJS) $(ASM_OBJS) *.d
install: $(LIBRARY) startfiles
mkdir -p ../Root/usr/include
mkdir -p ../Root/usr/lib
mkdir -p ../../Root/usr/include
mkdir -p ../../Root/usr/lib
# Copy headers
rsync -r -a --include '*/' --include '*.h' --exclude '*' . ../Root/usr/include
rsync -r -a --include '*/' --include '*.h' --exclude '*' . ../../Root/usr/include
# Install the library
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
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