rules.mak
来自「一个跨平台的CA系统 实现了数字证书的制作、SSL安全通讯、加解密操作等功能」· MAK 代码 · 共 55 行
MAK
55 行
include $(TOPDIR)/Local.makall: target.objifneq ($(prefix),) CFLAGS+= -DPREFIX=\"$(prefix)\"endififneq ($(basedir),) CFLAGS+= -DBASEDIR=\"$(basedir)\"endififneq ($(etc),) CFLAGS+= -DETC=\"$(etc)\"else CFLAGS+= -DETC=\"/etc/xca\"endifSRCS=$(patsubst %.o, %.cpp, $(OBJS))# 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 $(TOPDIR)/Local.mak $(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 rm -f .depend.depend: $(SRCS) $(CC) -MM $(CPPFLAGS) $(CFLAGS) $(SRCS) > $@.SECONDARY:
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?