Getting Automake/Autoconf to compile C
I'm having trouble with getting my head around automake and autoconf.
I've read that both tools are good, and I want to make use of them with what I'm trying to develop.
I'm learning C, and I'm writing an OS as my learning platform, but I'm doing it by writing my own version of the linux kernel. But I want to be able to compile and link the source code quickly and not so painfully, and this is where automake and autoconf come in.
I've been told that it needs a makefile.in and makefile.am, and also configure.ac etc...
Now I can set up the configure.ac, it's headerfiles, but when it comes to the makefile.am/.in I haven't got a clue ( as I have been relying on IDE's to do the work for me )
Does anyone know how I could achieve this? And also be able to add new subdirs to the project while I go along?
Here's my structure at the moment:
All source files reside in all of the sub dirs, and the header files mostly reside in the include file. My main source file resides in the init directory.
boot fs include init kernel lib mm tools
multiboot asm linux sys
I hope you guys are able to help.