📄 makefile
字号:
AR = ar
AS = nasm -f coff
CC = gcc
INCLUDE = -I"../../../Include" -I"../../../Include/Kernel"
CFLAGS = -finline-functions -nostdinc $(INCLUDE) -c -ffreestanding -g
LDFALGS = -L../../../Output/Applications/dll -L../../../Output/Applications/exe --add-stdcall-alias -shared -losdll -lKernel32 --image-base 0x77BE0000
OBJS = abort.o ctype.o exit.o malloc.o math.o printf.o string.o vsprintf.o file.o crt.o eviron.o \
signal.o error.o float.o adjustfd.o except.o exec.o setjmp.o
OUTPUT = ../../../Output/Applications/dll/Msvcrt.dll
.c.o:
$(CC) $(CFLAGS) -o $@ $<
$(OUTPUT): $(OBJS)
$(LD) $(LDFALGS) -o $@ $(OBJS)
.PHONY:
clean:
rm -f *.o
rm -f *.bak
rm -f $(OUTPUT)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -