diff --git a/ase/configure.ac b/ase/configure.ac index 707cdabe..9b3488ae 100644 --- a/ase/configure.ac +++ b/ase/configure.ac @@ -1,6 +1,6 @@ AC_PREREQ(2.59) AC_INIT([xpkit], [deb-0.1.0]) -AC_REVISION([$Revision: 1.5 $]) +AC_REVISION([$Revision: 1.6 $]) # Checks for programs. AC_PROG_CXX @@ -25,5 +25,5 @@ AC_FUNC_MEMCMP AC_FUNC_REALLOC AC_CHECK_FUNCS([memset]) -AC_CONFIG_FILES([build/Makefile]) +AC_CONFIG_FILES([Makefile build/Makefile]) AC_OUTPUT diff --git a/ase/makefile.in b/ase/makefile.in new file mode 100644 index 00000000..ee0a50f0 --- /dev/null +++ b/ase/makefile.in @@ -0,0 +1,37 @@ +SUBDIRS=c + +all: + @for i in $(SUBDIRS); \ + do \ + if [ ! -d $$i ]; \ + then \ + echo Error: $$i not a directory; \ + exit 1; \ + fi; \ + cd $$i; \ + if make $@; \ + then \ + echo > /dev/null; \ + else \ + exit 1; \ + fi; \ + cd ..; \ + done + +clean: + @for i in $(SUBDIRS); \ + do \ + if [ ! -d $$i ]; \ + then \ + echo Error: $$i not a directory; \ + exit 1; \ + fi; \ + cd $$i; \ + if make $@; \ + then \ + echo > /dev/null; \ + else \ + exit 1; \ + fi; \ + cd ..; \ + done