Change to non-recursive makefiles
This commit is contained in:
parent
736889f1d6
commit
cb5060cf00
|
@ -1 +1,4 @@
|
||||||
SUBDIRS = src
|
bin_PROGRAMS = myexecutable
|
||||||
|
myexecutable_SOURCES = \
|
||||||
|
src/main.c
|
||||||
|
myexecutable_CFLAGS = #--std=c11 # CFLAGS applicable to myexecutable_SOURCES
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
AC_PREREQ([2.69])
|
AC_PREREQ([2.69])
|
||||||
AC_INIT([FULL-PACKAGE-NAME], [VERSION], [BUG-REPORT-ADDRESS])
|
AC_INIT([FULL-PACKAGE-NAME], [VERSION], [BUG-REPORT-ADDRESS])
|
||||||
AM_INIT_AUTOMAKE([foreign]) # Does not require NEWS, COPYING, AUTHORS, ChangeLog or README
|
AM_INIT_AUTOMAKE([foreign subdir-objects]) # Does not require NEWS, COPYING, AUTHORS, ChangeLog or README
|
||||||
|
|
||||||
AM_SILENT_RULES([yes]) # less verbose make output https://autotools.io/automake/silent.html
|
AM_SILENT_RULES([yes]) # less verbose make output https://autotools.io/automake/silent.html
|
||||||
|
|
||||||
|
@ -37,6 +37,5 @@ AC_CHECK_HEADER([stdlib.h])
|
||||||
# Checks for library functions.
|
# Checks for library functions.
|
||||||
|
|
||||||
|
|
||||||
AC_CONFIG_FILES([Makefile
|
AC_CONFIG_FILES([Makefile])
|
||||||
src/Makefile])
|
|
||||||
AC_OUTPUT
|
AC_OUTPUT
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
bin_PROGRAMS = myexecutable
|
|
||||||
myexecutable_SOURCES = main.c
|
|
||||||
myexecutable_CFLAGS = #--std=c11 # CFLAGS applicable to myexecutable_SOURCES
|
|
Loading…
Reference in New Issue
Block a user