⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 makefile.txt

📁 国外一大学教授讲章
💻 TXT
字号:
# Note: The dependence on the header files is generated by#       makedepend.  Prior to making, issue the command:##               make depend###########################################################MAINSRC1=improved1.cOFILES1=${MAINSRC1:.c=.o}EXE1=${MAINSRC1:.c=}MAINSRC2=improved2.cSRC2=${MAINSRC2} ezincarg.c gridinit2.c update2.cOFILES2=${SRC2:.c=.o}EXE2=${MAINSRC2:.c=}MAINSRC3=improved3.c SRC3=${MAINSRC3} abc.c ezinc.c gridinit3.c snapshot.c tfsf.c update3.cOFILES3=${SRC3:.c=.o}EXE3=${MAINSRC3:.c=}all: ${EXE1} ${EXE2} ${EXE3}${EXE1}: ${OFILES1}	gcc ${OFILES1} -lm -o $@${EXE2}: ${OFILES2}	gcc ${OFILES2} -lm -o $@${EXE3}: ${OFILES3}	gcc ${OFILES3} -lm -o $@# A way to obtain unique file names -- not truly necessary, but# prevents some duplication in the depends.  Found the perl script on# the Web.  No way I would generate this on my own.  Note that the# double dollar signs are reduced to single dollar signs before perl# sees the script.UNIQSRC=$(shell echo ${SRC1} ${SRC2} ${SRC3} |\       perl -e 'while(<>) {               \          %s=();                          \          @u=grep {! $$s{$$_} ++ } sort(split()); \          print "@u";}')#================================================.SUFFIXES: .c .o.c.o:	gcc -c -O -Wall $<clean:	rm -f *~ sim.? sim.?? junk*	rm -f ${OFILES1} ${OFILES2} ${OFILES3}	rm -f ${EXE1} ${EXE2} ${EXE3}# -Y to prevent search of system headers and# pipe warning to /dev/null since it will complain# about not finding the system headers!depend:	makedepend -Y ${UNIQSRC} &> /dev/null# DO NOT DELETEabc.o: fdtd3.hezinc.o: ezinc.hezincarg.o: ezincarg.hgridinit2.o: fdtd2.hgridinit3.o: fdtd3.himproved2.o: fdtd2.h ezincarg.himproved3.o: fdtd3.hsnapshot.o: fdtd3.htfsf.o: ezinc.h fdtd3.hupdate2.o: fdtd2.hupdate3.o: fdtd3.h

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -