Added autotool scripts for windows. Fixed some things in the windows

version to have it compiling.
This commit is contained in:
yabause 2006-04-08 13:25:25 +00:00
parent 5ce0f5b852
commit 25dc03b40c
3 changed files with 16 additions and 1 deletions

View File

@ -39,10 +39,15 @@ case $target in
UI_DIR=gtk
AC_SUBST([UI_DIR])
;;
*mingw*)
UI_DIR=windows
AC_SUBST([UI_DIR])
;;
esac
AC_CONFIG_FILES([Makefile
src/Makefile
src/gtk/Makefile
src/windows/Makefile
])
AC_OUTPUT

View File

@ -0,0 +1,10 @@
bin_PROGRAMS = desmume
desmume_SOURCES = \
CWindow.cpp CWindow.hpp IORegView.cpp IORegView.hpp \
des_view.cpp des_view.hpp ginfo.cpp ginfo.hpp \
main.cpp mapView.cpp mapView.hpp mem_view.cpp mem_view.hpp \
oamView.cpp oamView.hpp palView.cpp palView.hpp \
resource.h tileView.cpp tileView.hpp yopyop_private.hpp
desmume_LDADD = ../libdesmume.a yopyop_private.o
yopyop_private.o: yopyop_private.rc resources.rc resource.h
windres yopyop_private.rc -o yopyop_private.o

View File

@ -20,7 +20,7 @@
*/
#include <windows.h>
#include "resource.hpp"
#include "resource.h"
IconDeSmuME ICON MOVEABLE PURE LOADONCALL DISCARDABLE "DeSmuME.ico"
//IconDeSmuME ICON MOVEABLE PURE LOADONCALL DISCARDABLE "DeSmuME3D.ico"