Mercurial > dwindows
view makefile.wpm @ 2924:248e32f744f0
C++: Attempt to get dwtestoo working with old pre-lambda compilers.
Fixed a number of errors regarding this from the last commit, however...
GCC 4.2 errors out complaining about forward declaration of class Pixmap.
This forward definition is necessary to define some classes that reference
each other. The issue seems to be these old GCC implmentations expect...
that these classes be defined in different files. Since I forward declare
Pixmap before defining Render which uses it, then when I go to define
Pixmap, it is already forward declared and gives errors. This code
is legit, but the compiler implementation is erroring out....
Not sure how to fix this right now without defining them in separate files.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Thu, 29 Dec 2022 23:20:12 +0000 |
parents | 1660b4ecb92f |
children |
line wrap: on
line source
#=================================================================== # # Auto-dependency information # #=================================================================== OS22_H = $(%WATCOM)\h\os2 CFLAGS = -i=os2 -i=$(OS22_H) -DUNICODE -bm -bt=OS2 -zq -d2 -bd -sg TKPATH=C:\Toolkit TLKTLIB = $(TKPATH)\LIB .SUFFIXES: .SUFFIXES: .obj .c .c.obj: .AUTODEPEND wcc386 $(CFLAGS) $*.c all: dw.dll dwcompat.dll dwtest.exe dwcompat.dll: dirent.obj dwcompat.obj wlink @os2\dwcompat.lnk name dwcompat.dll system os2v2_dll d a library $(TLKTLIB)\so32dll,$(TLKTLIB)\tcp32dll option implib=dwcompat option map option symf f $[@ f dwcompat dirent.obj: wcc386 $(CFLAGS) os2\dirent.c dw.dll: dw.obj wlink @os2\dw.lnk name dw.dll system os2v2_dll d a library $(TLKTLIB)\libuls,$(TLKTLIB)\libconv,$(TLKTLIB)\unikbd option implib=dw option map option symf f $[@ dw.obj: os2\dw.c wcc386 $(CFLAGS) os2\dw.c dwtest.exe: dwtest.obj wlink name dwtest.exe system os2v2_pm d a library dw.lib option map option symf f $[@ dwtest.obj: wcc386 /DOS2 -i=os2 -i=$(OS22_H) -bm -bt=OS2 -zq -d2 -sg dwtest.c clean: @if exist *.obj del *.obj @if exist *.sym del *.sym @if exist *.map del *.map @if exist *.lib del *.lib @if exist *.dll del *.dll @if exist *.exe del *.exe