..\common\$D\memory.obj \
..\common\$D\mimecmn.obj \
..\common\$D\module.obj \
+ ..\common\$D\msgout.obj \
..\common\$D\mstream.obj \
..\common\$D\object.obj \
..\common\$D\process.obj \
OBJECTS = $(COMMONOBJS) $(MSWOBJS)
-ARCHINCDIR=$(WXDIR)\lib\base$(INCEXT)
+ARCHINCDIR=$(WXDIR)\lib\$(_WXINC_BUILD)$(_WXINC_DLLSUFFIX)$(_WXINC_SUFFIX)$(LIBEXT)
SETUP_H=$(ARCHINCDIR)\wx\setup.h
# Normal, static library
#all: dirs $(SETUP_H) $(DUMMYOBJ) $(OBJECTS) $(PERIPH_TARGET) png zlib xpm jpeg tiff $(LIBTARGET)
all: dirs $(SETUP_H) $(DUMMYOBJ) $(OBJECTS) $(PERIPH_TARGET) zlib $(LIBTARGET)
+$(ARCHINCDIR)\wx:
+ mkdir $(ARCHINCDIR)
+ mkdir $(ARCHINCDIR)\wx
+
$(WXDIR)\include\wx\msw\setup.h:
cd $(WXDIR)\include\wx\msw
if not exist setup.h copy setup0.h setup.h
$(SETUP_H): $(WXDIR)\include\wx\msw\setup.h
copy $(WXDIR)\include\wx\msw\setup.h $@
-dirs: $(MSWDIR)\$D $(COMMDIR)\$D
+dirs: $(MSWDIR)\$D $(COMMDIR)\$D $(ARCHINCDIR)\wx $(WXDIR)\$D
$D:
mkdir $D
$(MSWDIR)\$D:
mkdir $(MSWDIR)\$D
+$(WXDIR)\$D:
+ mkdir $(WXDIR)\$D
+
### Static library
$(WXDIR)\lib\$(WXLIBNAME).lib: $(DUMMYOBJ) $(OBJECTS)
..\common\lex_yy.c: ..\common\doslex.c
copy "..\common"\doslex.c "..\common"\lex_yy.c
-$(OBJECTS): $(WXDIR)/include/wx/setup.h
+$(OBJECTS): $(SETUP_H)
..\common\$D\unzip.obj: ..\common\unzip.c
cl @<<