📄 makefile.mak
字号:
## makefile for the MMS-EASE Easy Demonstration Executable#MMS_INC = ../../incDEBUG = -gOPTIMIZE =OPT1 = -stdOPT2 = -assume noaligned_objectsOPT = $(DEBUG) $(OPTIMIZE) $(OPT1) $(OPT2)CFLAGS = $(OPT) -I./ -I$(MMS_INC) -DDEBUG_SISCO -DMAP30_ACSE -pthreadLIST = >> ./make_errors 2>&1LIB_DIR = ../../libMMS_LIB = $(LIB_DIR)/mms.aOSIUL_LIB = $(LIB_DIR)/osiul.aMMSACSE_LIB = $(LIB_DIR)/mmsacse.aLIBS = $(MMS_LIB) $(OSIUL_LIB) $(MMSACSE_LIB)EXE = ./mmseasy.PRECIOUS: $(EXE)## object files#OBJECTS = \ mmseasy.o \ getval5.o \ ukey.o \ mmsop_en.o## common dependencies macro#COMDEPS = \ $(MMS_INC)/cfg_util.h \ $(MMS_INC)/fkeydefs.h \ $(MMS_INC)/gen_list.h \ $(MMS_INC)/glberror.h \ $(MMS_INC)/glbtypes.h \ $(MMS_INC)/gvaldefs.h \ $(MMS_INC)/scrndefs.h \ $(MMS_INC)/sysincs.h \ $(MMS_INC)/mem_chk.h \ $(MMS_INC)/slog.h \ $(MMS_INC)/stime.h \ $(MMS_INC)/asn1defs.h \ $(MMS_INC)/suicacse.h \ $(MMS_INC)/mms_defs.h \ $(MMS_INC)/mms_dfun.h \ $(MMS_INC)/mms_err.h \ $(MMS_INC)/mms_llp.h \ $(MMS_INC)/mms_mp.h \ $(MMS_INC)/mms_ms.h \ $(MMS_INC)/mms_mv.h \ $(MMS_INC)/mms_pcon.h \ $(MMS_INC)/mms_pdom.h \ $(MMS_INC)/mms_perr.h \ $(MMS_INC)/mms_pevn.h \ $(MMS_INC)/mms_pfil.h \ $(MMS_INC)/mms_pjou.h \ $(MMS_INC)/mms_pocs.h \ $(MMS_INC)/mms_pprg.h \ $(MMS_INC)/mms_psem.h \ $(MMS_INC)/mms_pvar.h \ $(MMS_INC)/mms_pvmd.h \ $(MMS_INC)/mms_ufun.h \ $(MMS_INC)/mms_user.h \ $(MMS_INC)/mms_usr.h \ $(MMS_INC)/mms_vcon.h \ $(MMS_INC)/mms_vdom.h \ $(MMS_INC)/mms_vfil.h \ $(MMS_INC)/mms_vprg.h \ $(MMS_INC)/mms_vvar.h \ $(MMS_INC)/mms_vvmd.h \ $(MMS_INC)/mloguser.h \ mmsop_en.h ## major target is the Executable#$(EXE): $(OBJECTS) $(LIBS) @echo "FINISHED COMPILING mmseasy SOURCE" $(LIST) $(CC) $(OPT) -o $(EXE) \ $(OBJECTS) $(LIBS) $(LIBS) $(LIBS) \ -lrt -lpthread -lexc -lmclean: -rm $(OBJECTS) -rm $(EXE)## Compile macros#CF=@echo compiling $*.o $(LIST); $(CC) -c $(CFLAGS)## minor targets are the objects#mmseasy.o: $(COMDEPS) mmseasy.c $(CF) mmseasy.c $(LIST)ukey.o: $(COMDEPS) ukey.c $(CF) ukey.c $(LIST)getval5.o: $(COMDEPS) getval5.c $(CF) getval5.c $(LIST)mmsop_en.o: $(COMDEPS) mmsop_en.c $(CF) mmsop_en.c $(LIST)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -