X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2432b92dd7a837db13d3938a56c1959decd03203..6342bd1ab36c1957684c00d408d09fba65d33db6:/src/makesc.env diff --git a/src/makesc.env b/src/makesc.env index 538c0c6f40..064e1cbf02 100644 --- a/src/makesc.env +++ b/src/makesc.env @@ -3,6 +3,7 @@ WXDIR = $(WXWIN) INCDIR = $(WXDIR)\include LIBDIR = $(WXDIR)\lib +WXLIB = $(LIBDIR)\wx.lib SRCSUFF = cpp OBJSUFF = obj @@ -14,8 +15,19 @@ INCLUDE=$(INCDIR) CC=sc RC=rc +# WIN16 settings +#CFLAGS = -Jm -ml -W -D__WXMSW__ -D__SC__ -D__WXDEBUG__ -D__WINDOWS__ -D__WIN16__ $(EXTRACPPFLAGS) +#LINKER = link +#LDFLAGS = -ml -W -L$(LINKER).exe $(EXTRALDFLAGS) +#LIBS=$(WXLIB) $(EXTRALIBS) libw.lib commdlg.lib ddeml.lib shell.lib # $(LIB)\ctl3dv2.lib +#DEFFILE=sc16.def + +# WIN32 settings CFLAGS = -o -mn -W -D__NT__ -DWIN32 -D__WIN32__ -D__WINDOWS__ -D__WXMSW__ -D__SC__ -D__WXDEBUG__ $(EXTRACPPFLAGS) -LDFLAGS = $(EXTRALDFLAGS) +LINKER = link386 +LDFLAGS = -L$(LINKER).exe $(EXTRALDFLAGS) +LIBS=$(WXLIB) $(EXTRALIBS) ctl3d32.lib shell32.lib comdlg32.lib user32.lib gdi32.lib kernel32.lib winmm.lib +DEFFILE=sc32.def .$(SRCSUFF).obj: *$(CC) -c $(CFLAGS) -I$(INCLUDE) $(OPTIONS) $< -o$@ @@ -24,3 +36,6 @@ LDFLAGS = $(EXTRALDFLAGS) .c.obj: *$(CC) -c $(CFLAGS) -I$(INCLUDE) $(OPTIONS) -DUSE_DEFINE -Jm $< -o$@ +.rc.res: + *$(RC) -r -I$(INCLUDE) $< +