Added a command line interface.

This commit is contained in:
yabause 2006-05-05 08:33:09 +00:00
parent 104ef2efa8
commit 1c5f3990c7
2 changed files with 8 additions and 1 deletions

View File

@ -33,10 +33,12 @@ case $target in
GTK_CFLAGS="$GTK_CFLAGS $SDL_CFLAGS"
GTK_LIBS="$GTK_LIBS $SDL_LIBS"
fi
AC_SUBST(SDL_CFLAGS)
AC_SUBST(SDL_LIBS)
AC_SUBST(GTK_CFLAGS)
AC_SUBST(GTK_LIBS)
UI_DIR=gtk
UI_DIR="gtk cli"
AC_SUBST([UI_DIR])
;;
*mingw*)
@ -50,6 +52,7 @@ AC_ARG_ENABLE(debug, AC_HELP_STRING(--enable-debug, enable debug information) ,
AC_CONFIG_FILES([Makefile
src/Makefile
src/cli/Makefile
src/gtk/Makefile
src/windows/Makefile
])

View File

@ -0,0 +1,4 @@
bin_PROGRAMS = desmume-cli
desmume_cli_SOURCES = main.cpp
desmume_cli_LDADD = ../libdesmume.a $(SDL_LIBS)
desmume_cli_CXXFLAGS = $(SDL_CFLAGS)