# Fighter **Repository Path**: beimangshan/Fighter ## Basic Information - **Project Name**: Fighter - **Description**: 构建C语言、C++实用demo操作实例仓库,方便后续进行查找调用。 - **Primary Language**: C - **License**: GPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-20 - **Last Updated**: 2020-12-20 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 使用autoconfig 初始化項目操作: - autoscan; 生成 configure.scan 修改文件並更名爲 configure.in,具體內容如下: ```bash # -*- Autoconf -*- # Process this file with autoconf to produce a configure script. AC_INIT(helloworld.c) AM_INIT_AUTOMAKE(helloworld, 1.0) # Checks for programs. AC_PROG_CC # Checks for libraries. # Checks for header files. # Checks for typedefs, structures, and compiler characteristics. # Checks for library functions. AC_OUTPUT(Makefile) ``` - $ aclocal (生成 aclocal.m4) - $ autoconf(生成 configure) - 創建 Makefile.am: ``` AUTOMAKE_OPTIONS=foreign bin_PROGRAMS=helloworld helloworld_SOURCES=helloworld.c INCLUDES=-Isrc/base/ ``` - $ automake --add-missing - $ ./configure - $ make 完成