A even more simple windowing test.
authorSteven Edwards <winehacker@gmail.com>
Wed, 10 Apr 2002 03:52:30 +0000 (03:52 +0000)
committerSteven Edwards <winehacker@gmail.com>
Wed, 10 Apr 2002 03:52:30 +0000 (03:52 +0000)
This should be our first goal before winhello

svn path=/trunk/; revision=2833

reactos/apps/tests/simple/makefile [new file with mode: 0644]
reactos/apps/tests/simple/simple.c [new file with mode: 0644]

diff --git a/reactos/apps/tests/simple/makefile b/reactos/apps/tests/simple/makefile
new file mode 100644 (file)
index 0000000..911bb27
--- /dev/null
@@ -0,0 +1,20 @@
+
+PATH_TO_TOP = ../..
+
+TARGET_NORC = yes
+
+TARGET_TYPE = program
+
+TARGET_APPTYPE = windows
+
+TARGET_NAME = simple
+
+TARGET_SDKLIBS = kernel32.a gdi32.a
+
+TARGET_OBJECTS = $(TARGET_NAME).o
+
+include $(PATH_TO_TOP)/rules.mak
+
+include $(TOOLS_PATH)/helper.mk
+
+# EOF
diff --git a/reactos/apps/tests/simple/simple.c b/reactos/apps/tests/simple/simple.c
new file mode 100644 (file)
index 0000000..7002a46
--- /dev/null
@@ -0,0 +1,15 @@
+/*
+ * The simplest Windows program you will ever write.
+ *
+ * This source code is in the PUBLIC DOMAIN and has NO WARRANTY.
+ *
+ * Colin Peters <colinp at ma.kcom.ne.jp>, July 1, 2001.
+ */
+#include <windows.h>
+
+int STDCALL
+WinMain (HINSTANCE hInst, HINSTANCE hPrev, LPSTR lpCmd, int nShow)
+{
+       MessageBox (NULL, "Hello, Windows!", "Hello", MB_OK);
+       return 0;
+}