rules.mak
来自「一个精简的CA程序」· MAK 代码 · 共 37 行
MAK
37 行
include ../Local.makall: target.objCFLAGS+= -DPREFIX=\"$(prefix)\"# recompile allre: clean all# how to create a moc_* filemoc_%.cpp: %.h %.cpp $(MOC) $< -o $@# how to create the headerfile from the *.ui%.h: %.ui $(UIC) -o $@ $<# same for the *.cpp file from the *.ui%.cpp: %.h %.ui $(UIC) -o $@ -impl $^# default compile rule%.o: %.cpp $(CC) $(CPPFLAGS) $(CFLAGS) $(EXTRA_CFLAGS) -c $< -o $@# partial linking of objects in one directorytarget.obj: $(OBJS) $(LD) -r -o $@ $(OBJS)# delete the crapclean: rm -f *~ *.o *.obj $(DELFILES)distclean: clean.SECONDARY:
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?