📄 makefile.in
字号:
## S51 sim.src/Makefile## (c) Drotos Daniel, Talker Bt. 1997,99#STARTYEAR = 1997SHELL = /bin/shCXX = @CXX@CPP = @CPP@CXXCPP = @CXXCPP@RANLIB = @RANLIB@INSTALL = @INSTALL@PRJDIR = ..DEFS = $(subs -DHAVE_CONFIG_H,,@DEFS@)CPPFLAGS = @CPPFLAGS@ -I. -I$(PRJDIR) \ -I$(PRJDIR)/cmd.src -I$(PRJDIR)/gui.srcCFLAGS = @CFLAGS@ -WallCXXFLAGS = @CXXFLAGS@ -WallM_OR_MM = @M_OR_MM@prefix = @prefix@exec_prefix = @exec_prefix@bindir = @bindir@libdir = @libdir@datadir = @datadir@includedir = @includedir@mandir = @mandir@man1dir = $(mandir)/man1man2dir = $(mandir)/man2infodir = @infodir@srcdir = @srcdir@OBJECTS = mem.o sim.o itsrc.o brk.o arg.o stack.o \ guiobj.o uc.o hw.o# Compiling entire program or any subproject# ------------------------------------------all: checkconf sim_libtest_mem_speed: $(PRJDIR)/lib*.a test_mem_speed.o $(CC) -o $@ test_mem_speed.o -L$(PRJDIR) -lsim -lutil -lcmd -lsimsim.src: all# Compiling and installing everything and runing test# ---------------------------------------------------install: all installdirs# Deleting all the installed files# --------------------------------uninstall:# Performing self-test# --------------------check: test ./test_mem_speedtest: test_mem_speed# Performing installation test# ----------------------------installcheck:# Creating installation directories# ---------------------------------installdirs:# Creating dependencies# ---------------------dep: main.depMakefile.dep: *.cc *.h $(CXXCPP) $(CPPFLAGS) $(M_OR_MM) *.cc >Makefile.depinclude Makefile.depinclude clean.mk#parser.cc: parser.y#plex.cc: plex.l# My rules# --------sim_lib: $(PRJDIR)/libsim.a$(PRJDIR)/libsim.a: $(OBJECTS) ar -rcu $*.a $(OBJECTS) $(RANLIB) $*.a.cc.o: $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c $< -o $@.y.cc: rm -f $*.cc $*.h $(YACC) -d $< mv y.tab.c $*.cc mv y.tab.h $*.h.l.cc: rm -f $*.cc $(LEX) -t $< >$*.cc# Remaking configuration# ----------------------checkconf: @if [ -f $(PRJDIR)/devel ]; then\ $(MAKE) -f conf.mk srcdir="$(srcdir)" PRJDIR="$(PRJDIR)" freshconf;\ fi# End of sim.src/Makefile
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -