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

📄 makefile.in

📁 Small Device C Compiler 面向Inter8051
💻 IN
字号:
## uCsim gui.src/Makefile## (c) Drotos Daniel, Talker Bt. 1999#SHELL		= /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)/sim.src -I$(PRJDIR)/cmd.srcCFLAGS          = @CFLAGS@ -WallCXXFLAGS        = @CXXFLAGS@ -WallM_OR_MM         = @M_OR_MM@LIBS		= @LIBS@ @CURSES_LIBS@ -L$(PRJDIR)curses_ok	= @curses_ok@prefix          = @prefix@exec_prefix     = @exec_prefix@bindir          = @bindir@libdir          = @libdir@datadir         = @datadir@includedir      = @includedir@mandir          = @mandir@man1dir         = $(mandir)/man1man2dir         = $(mandir)/man2infodir         = @infodir@srcdir          = @srcdir@enable_serio	= @enable_serio@PKGS		=ifeq ($(enable_serio),yes)SERIO_PKG	= serio.srcelseSERIO_PKG	=endifCURSES_PKGS	= $(SERIO_PKG)# Common codeOBJECTS		= rec.oSOURCES		= $(patsubst %.o,%.cc,$(OBJECTS))# uCsim onlyUCSIM_OBJECTS	= gui.o if.oUCSIM_SOURCES	= $(patsubst %.o,%.cc,$(UCSIM_OBJECTS))# Tool onlyTOOL_OBJECTS	=TOOL_SOURCES	= $(patsubst %.o,%.cc,$(TOOL_OBJECTS))ALL_SOURCES	= $(SOURCES) $(UCSIM_SOURCES) $(TOOL_SOURCES)# Compiling entire program or any subproject# ------------------------------------------all: gui.srcgui.src: checkconf gui_apiifeq ($(curses_ok),yes)	@for pkg in dummy $(CURSES_PKGS); do\	  if test -d $$pkg; then $(MAKE) -C $$pkg $$pkg; else : ; fi ;\	doneendif#	@for pkg in $(PKGS); do\#	  $(MAKE) -C $$pkg $$pkg ;\#	donegui_api: ucsim_lib tool_lib# Compiling and installing everything and runing test# ---------------------------------------------------install: install_gui_apiifeq ($(curses_ok),yes)	@for pkg in $(CURSES_PKGS); do\	  cd $$pkg && $(MAKE) install ; cd ..;\	doneendifinstall_gui_api:# Deleting all the installed files# --------------------------------uninstall: uninstall_gui_apiifeq ($(curses_ok),yes)	@for pkg in $(CURSES_PKGS); do\	  cd $$pkg && $(MAKE) uninstall ; cd ..;\	doneendifuninstall_gui_api:# Performing self-test# --------------------check: check_local	@for pkg in $(CURSES_PKGS); do\	  cd $$pkg && $(MAKE) check ; cd ..;\	donecheck_local:test: test_local	@for pkg in $(CURSES_PKGS); do\	  cd $$pkg && $(MAKE) test ; cd ..;\	donetest_local:# Performing installation test# ----------------------------installcheck: installcheck_gui_api	@for pkg in $(CURSES_PKGS); do\	  cd $$pkg && $(MAKE) installcheck ; cd ..;\	doneinstallcheck_gui_api:# Creating installation directories# ---------------------------------installdirs:	@for pkg in $(CURSES_PKGS); do\	  cd $$pkg && $(MAKE) installdirs ; cd ..;\	done# Creating dependencies# ---------------------dep: Makefile.depMakefile.dep: $(ALL_SOURCES) *.h	$(CXXCPP) -MM $(CPPFLAGS) $(M_OR_MM) $(ALL_SOURCES) >Makefile.depinclude Makefile.depinclude clean.mk# My rules# --------ucsim_lib: $(PRJDIR)/libguiucsim.a$(PRJDIR)/libguiucsim.a: $(OBJECTS) $(UCSIM_OBJECTS)	ar -rcu $*.a $(OBJECTS) $(UCSIM_OBJECTS)	$(RANLIB) $*.atool_lib: $(PRJDIR)/libguitool.a$(PRJDIR)/libguitool.a: $(OBJECTS) $(TOOL_OBJECTS)	ar -rcu $*.a $(OBJECTS) $(TOOL_OBJECTS)	$(RANLIB) $*.a.cc.o:	$(CXX) $(CXXFLAGS) $(CPPFLAGS) -c $< -o $@# Remaking configuration# ----------------------checkconf:	@if [ -f $(PRJDIR)/devel ]; then\	  $(MAKE) -f conf.mk srcdir="$(srcdir)" PRJDIR="$(PRJDIR)" freshconf;\	fi# End of gui.src/Makefile

⌨️ 快捷键说明

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