📄 makefile
字号:
#Thiss is a makefile for Linux# extension for object filesO = o# commandsCC = arm-linux-gcc# name of temporary library scriptTEMPFILE = $(TEMP)/temp.mak# standard include directorySTDINCDIR = /usr/local/arm/3.4.1/arm-linux/include# Mylib include directory# The places to look for include files (in order).INCL = -I. -I$(STDINCDIR) -I$(HEADDIR)# The places to look for so files (in order).PROG = all# Normal C flags.DFLAGS = -DDEBUG -DDOWNLOADCFLAGS = $(INCL) $(DFLAGS) -Wall -O2 -cOFLAGS = -Wall -O2 -o# The location of the common source directory.HEADDIR = ../inc/SRCDIR = ../src/BINDIR = ../bin/LIBDIR = ../lib/all : $(BINDIR)autodetect$(BINDIR)autodetect : main.$(O) $(CC) $(OFLAGS) $@ $^ -lpthread -L$(LIBDIR) -lCommonmain.$(O) : main.c $(HEADDIR)utility.h $(CC) $(CFLAGS) main.cclean: @rm -f *.$(O) $(BINDIR)autodetect
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -