Shark Deng

Interactive Designer @Shanju Design in Shanghai

touched caffe / mxnet / python / wordpress / bootstrap / Arduino / Raspberry Pi / webgl / three.js / PIXI / 3dMax

Email

Github

automake

2019-11-14 04:59:29

1)  autoscan

autoscan.log

configure.scan

1-1)  cp configure.scan configure.ac

#                                               -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.

AC_PREREQ([2.69])
AC_INIT([FULL-PACKAGE-NAME], [VERSION], [BUG-REPORT-ADDRESS])
AC_CONFIG_SRCDIR([src/test.c])
AC_CONFIG_HEADERS([config.h])
AM_INIT_AUTOMAKE

# Checks for programs.
AC_PROG_CC

# Checks for libraries.

# Checks for header files.
AC_CHECK_HEADERS([stdlib.h])

# Checks for typedefs, structures, and compiler characteristics.

# Checks for library functions.

AC_OUTPUT([Makefile])

3)  aclocal

aclocal.m4

autom4te.cache

4)  autoconf

configure

5)  autoheader

config.h.in


6)  vi Makefile.am

AUTOMAKE_OPTIONS=foreign
bin_PROGRAMS=good
good_SOURCES=testa.c testb.c testc.c test.c
~                                              

7)  automake –add-missing

compile

install.sh

missing

depcmp


8)  ./configure

config.h

Makefile

9)  make

 



——By SharkDeng
如果你喜欢我的文章,欢迎红包赞赏

Leave a Reply

Your email address will not be published. Required fields are marked *