📄 cmakefile
字号:
# MAKEFILE FOR all C directories# included by others # include ./MMakefile# why the fcuk does this not work on mraos ^^^?bin = bin$(ARC)ALWAYS:CFLAGS = $(INCDIRS) \ -ansi -pedantic -g\ -Wall -Wconversion -Wstrict-prototypes\ -Wformat -Wmissing-prototypes -Wshadow\ -Wpointer-arith -Wcast-qual -Wwrite-strings\ -D__USE_FIXED_PROTOTYPES__ -O2 -funroll-loops -static# options for linux gcc# -O3 -malign-functions=4 -malign-loops=4 -malign-jumps=2# -O2 -funroll-loops## rand2.o does not make if this O2 is there , on dec!## to profile gprof opt2# to not profile, remove -pg here and below. ## to optimize add -O2 -funroll-loops# LIBS = -L/home/mackay/lib -ldbmalloc -lm LIBS = -lm LIBDIRS = -L/home/mackay/usr/lib -ldbmalloc -lmLDFLAGS = -gCC = gcc%.tar: %.c cd .. ; tar cvf /home/mackay/pub/c/$*.tar -T newansi/$*.tar.com gzip -f /home/mackay/pub/c/$*.tarclean: rm *.o%.o: ../%.c $(CC) $(CFLAGS) ../$*.c -c -o $*.overbose: echo bin = $(bin)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -