makefile.am

来自「Simple DirectMedia Layer - Simple Direct」· AM 代码 · 共 54 行

AM
54
字号
## Makefile.am for the main() function in the SDL library## This is necessary because some platforms have special program# entry points, which require special application initialization.ARCH_SUBDIRS = $(srcdir)/beos \               $(srcdir)/epoc \               $(srcdir)/linux \               $(srcdir)/macos \               $(srcdir)/macosx \               $(srcdir)/win32# Build a separate library containing the main() entry point.lib_LIBRARIES = libSDLmain.aif TARGET_MACOSXMAINLIB_ARCH_SRCS = SDLMain.m SDLMain.helseif TARGET_QTOPIAMAINLIB_ARCH_SRCS = SDL_Qtopia_main.ccelseMAINLIB_ARCH_SRCS = SDL_main.cendifendiflibSDLmain_a_SOURCES = $(MAINLIB_ARCH_SRCS)# Build an internal library of any special app setup functionsnoinst_LTLIBRARIES = libarch.laif TARGET_BEOSARCH_SRCS = SDL_BeApp.cc SDL_BeApp.helseARCH_SRCS = endif# Include the architecture-independent sourcesCOMMON_SRCS = dummy.clibarch_la_SOURCES = $(COMMON_SRCS) $(ARCH_SRCS)## Let automake know that it shouldn't distribute linked sourcesBUILT_SOURCES = $(MAINLIB_ARCH_SRCS) $(ARCH_SRCS)## Let automake know that it should remove these for distributionDISTCLEANFILES = $(MAINLIB_ARCH_SRCS) $(ARCH_SRCS)# The architecture specific directories need to be copied into place# when building a distribution.dist-hook:	(cd $(distdir) && rm -f $(BUILT_SOURCES))	cp -rp $(ARCH_SUBDIRS) $(distdir)	(cd $(distdir) && rm -rf `find . -name CVS`)

⌨️ 快捷键说明

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