mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-07-12 07:49:14 +00:00
Merge remote-tracking branch 'Userspace/master'
This commit is contained in:
20
Userspace/libs/libgcc/Makefile
Normal file
20
Userspace/libs/libgcc/Makefile
Normal file
@ -0,0 +1,20 @@
|
||||
# Config file
|
||||
include ../../../Makefile.conf
|
||||
|
||||
NAME=gcc
|
||||
|
||||
OBJECT_NAME=lib$(NAME).a
|
||||
|
||||
OUTPUT_DIR=../../out/lib/
|
||||
|
||||
CC = ../../../$(COMPILER_PATH)/$(COMPILER_ARCH)gcc
|
||||
|
||||
CRTBEGIN_PATH = $(shell $(CC) -print-file-name=libgcc.a)
|
||||
|
||||
build: $(OBJECT_NAME)
|
||||
|
||||
$(OBJECT_NAME):
|
||||
cp $(CRTBEGIN_PATH) $(OUTPUT_DIR)
|
||||
|
||||
clean:
|
||||
|
Reference in New Issue
Block a user