diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/example/Makefile | 4 | ||||
-rw-r--r-- | modules/example/main.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/modules/example/Makefile b/modules/example/Makefile index cdb01c8..451583e 100644 --- a/modules/example/Makefile +++ b/modules/example/Makefile @@ -1,4 +1,4 @@ -CFLAGS=-O2 -msse -fomit-frame-pointer -pipe -mdll -mwindows -I../../api/ -D DEBUG +CFLAGS=-g -mdll -mwindows -I../../api/ -D DEBUG CXXFLAGS=${CFLAGS} LDFLAGS=-Wl,-O1 -shared -static-libgcc CPPFLAGS = @@ -6,7 +6,7 @@ CC=i686-pc-mingw32-gcc CXX=i686-pc-mingw32-g++ STRIP=i686-pc-mingw32-strip LD=i686-pc-mingw32-ld -LNK_COMMON= +LNK_COMMON=-lkernel32 MAINOBJS=main.o all: main diff --git a/modules/example/main.cpp b/modules/example/main.cpp index a4c0ee6..76a004d 100644 --- a/modules/example/main.cpp +++ b/modules/example/main.cpp @@ -28,7 +28,7 @@ extern "C" __declspec(dllexport) PLUGININFO* SetPluginInfo() extern "C" int __declspec(dllexport) Load() { - std::cout<<"core run every code in this function.\n"; + MessageBoxA(0, "Plugin Example Succesful loaded", "INFO", MB_OK); return 0; //all ok, retrun 0 } |