Skip to content

Make the default project use more directories #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions assistants/crt/c.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,16 @@ run:
- use: git.init_add_commit.run
- else:
- cl: cd "$lowername"
- log_i: 'Project already exists'
- log_i: 'Project already exists'
- log_i: 'Make autoconf macrodir'
- cl_i: mkdir -p m4
- log_i: 'Run autoreconf'
- cl_i: autoreconf --install
- log_i: 'Make build directory'
- cl_i: mkdir -p build
- log_i: 'Run configure script'
- cl_i: ./configure
- cl_i: cd build
- cl_i: ../configure
- cl_i: make clean
- log_i: 'Compiling sources'
- cl_i: make
Expand All @@ -78,7 +83,7 @@ run:
- log_i: 'source file using autotools'
- log_i: 'More information about autotools can be found here:'
- log_i: 'automake: http://www.gnu.org/software/automake/manual/automake.html'
- log_i: 'autoconf: http://www.gnu.org/software/autoconf/manual/autoconf.html'
- log_i: 'autoconf: http://www.gnu.org/software/autoconf/manual/autoconf.html'
- if defined $vim:
- use: vim.run
- if defined $build:
Expand Down
10 changes: 9 additions & 1 deletion files/crt/c/configure.ac
Original file line number Diff line number Diff line change
@@ -1,13 +1,21 @@
#This line defines the name of the output tarball
AC_INIT([CDevelopmentTool],[0.0])
dnl
AC_CONFIG_AUX_DIR([build-aux])
dnl
#this line defines what compilation flags will be used
AM_INIT_AUTOMAKE
AM_INIT_AUTOMAKE([subdir-objects -Wall])
dnl
# DEFINE YOUR OWN HEADERS CHECK - DO NOT DELETE THIS LINE
#this line defines what libraries should be used during building
AC_CHECK_LIB([pthread],[pthread_create])
AC_CHECK_LIB([pthread],[pthread_join])
dnl
# DEFINE YOUR OWN LIBRARY CHECK - DO NOT DELETE THIS LINE
AC_PROG_CC
dnl
AC_CONFIG_MACRO_DIR([m4])
dnl
#This line defines where Makefiles are stored for projects and sources
AC_CONFIG_FILES([Makefile])
AC_OUTPUT