📄 makefile
字号:
# TOP_DIR and OBJ_DIR should be set by the user to the right directories,# if necessary.TOP_DIR ?= ../../..OBJ_DIR ?= $(TOP_DIR)/objs# The setup below is for gcc on a Unix-like platform.SRC_DIR = $(TOP_DIR)/src/tools/ftrandomCC = gccWFLAGS = -Wmissing-prototypes \ -Wunused \ -Wimplicit \ -Wreturn-type \ -Wparentheses \ -pedantic \ -Wformat \ -Wchar-subscripts \ -Wsequence-pointCFLAGS = $(WFLAGS) \ -g \ -I $(TOP_DIR)/includeLIBS = -lm \ -L $(OBJ_DIR) \ -lfreetype \ -lzall: $(OBJ_DIR)/ftrandom$(OBJ_DIR)/ftrandom: $(SRC_DIR)/ftrandom.c $(OBJ_DIR)/libfreetype.a $(CC) -o $(OBJ_DIR)/ftrandom $(CFLAGS) $(SRC_DIR)/ftrandom.c $(LIBS)# EOF
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -