Skip to content

Commit e27e5c3

Browse files
committed
Prepare for version 1.1.
1 parent 010c15f commit e27e5c3

8 files changed

Lines changed: 185 additions & 124 deletions

File tree

Makefile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# This Makefile will build the Win16 test application.
22

3-
HEADERS = resource.h callbacks.h
4-
OBJS = winmain.obj callbacks.obj
5-
RES = resource.res
3+
HEADERS = Resource.h Callback.h
4+
OBJS = WinMain.obj Callback.obj
5+
RES = Resource.res
66

77
CC = cl16.exe
8-
CFLAGS = /nologo /c /D WINVER=0x0300 /Gsw /Gf /G2 /Os /W2 /Zp
8+
CFLAGS = /nologo /c /D NDEBUG /D WINVER=0x0300 /G3swf /Os /W3 /Zp /FPi87
99
LINK = link16.exe
1010
RC = rc16.exe
1111
EXE = Win16App.exe
@@ -15,13 +15,13 @@ all: Win16App.exe
1515

1616
Win16App.exe: $(OBJS) $(RES) $(DEF)
1717
$(LINK) /nologo /align:16 $(OBJS),$(EXE),,libw.lib slibcew.lib,$(DEF)
18-
$(RC) /nologo -30 $(RES) $(EXE)
18+
$(RC) /nologo /30 $(RES) $(EXE)
1919

2020
clean:
21-
del $(OBJS) $(RES) $(EXE)
21+
del $(OBJS) $(RES) $(EXE) Win16App.map
2222

2323
%.obj: %.c $(HEADERS)
2424
$(CC) $(CFLAGS) $<
2525

26-
resource.res: resource.rc App.ico resource.h
26+
Resource.res: Resource.rc App.ico Resource.h
2727
$(RC) /nologo /r resource.rc

Readme.txt

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This application is an example 16
44
accompanies an article from my web site, located at
55
http://www.transmissionzero.co.uk/computing/win16-apps-in-c/.
66

7-
To build the application with Microsoft�s Visual C compilers, simply open a
7+
To build the application with Microsoft�s Visual C++ compilers, simply open a
88
command prompt, change to the directory containing the Makefile, and run
99
�nmake�. Note that you will need the 16�bit C compiler, linker, and resource
1010
compiler�it won�t work with 32�bit compilers! Also note that the Makefile may
@@ -13,12 +13,14 @@ require some small modifications if you use a make utility other than
1313
To build the application in Open Watcom, simply open the project up in the IDE,
1414
and choose the �Make� option from the �Targets� menu.
1515

16+
1617
Disclaimer
1718

1819
This program is distributed in the hope that it will be useful, but WITHOUT ANY
1920
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
2021
PARTICULAR PURPOSE.
2122

23+
2224
Terms of Use
2325

2426
There is no specific license attached to the use this application. You are free
@@ -30,12 +32,27 @@ application template, and how you license any applications built with it is
3032
entirely up to you. Of course, you must still comply with the licensing
3133
conditions of the tools you are using to build the application.
3234

35+
3336
Problems?
3437

3538
If you have any problems or questions, please get in contact via
3639
http://www.transmissionzero.co.uk/contact/. Please ensure that you read the
3740
article at http://www.transmissionzero.co.uk/computing/win16-apps-in-c/ before
3841
sending any questions.
3942

43+
44+
Changelog
45+
46+
2013�08�26: Version 1.1
47+
48+
� Added a VERSIONINFO resource to the executable, so that version information
49+
can be viewed in File Manager or Windows Explorer.
50+
� Open Watcom build now runs in Windows 3.0 (but not in real mode).
51+
� Ensured all source files are 8.3 characters long.
52+
53+
2011�07�06: Version 1.0
54+
55+
� First release.
56+
4057
Martin Payne
41-
2011�07�06
58+
2013�08�26

0 commit comments

Comments
 (0)