<<
COMMONOBJS = \
- ..\common\$D\y_tab.obj \
..\common\$D\appcmn.obj \
..\common\$D\clntdata.obj \
..\common\$D\cmdline.obj \
OBJECTS = $(COMMONOBJS) $(MSWOBJS)
-ARCHINCDIR=$(WXDIR)\lib\$(_WXINC_BUILD)$(_WXINC_DLLSUFFIX)$(_WXINC_SUFFIX)$(LIBEXT)
+ARCHINCDIR=$(WXDIR)\lib\base$(INCEXT)
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 $(ARCHINCDIR)\wx $(WXDIR)\$D
+dirs: $(MSWDIR)\$D $(COMMDIR)\$D
$D:
mkdir $D
$(MSWDIR)\$D:
mkdir $(MSWDIR)\$D
-$(WXDIR)\$D:
- mkdir $(WXDIR)\$D
-
### Static library
$(WXDIR)\lib\$(WXLIBNAME).lib: $(DUMMYOBJ) $(OBJECTS)
cl $(CPPFLAGS) $(MAKEPRECOMP) /Fo$(DUMMYOBJ) /c /Tp $(DUMMY).cpp
########################################################
-..\common\$D\y_tab.obj: ..\common\y_tab.c ..\common\lex_yy.c
- cl @<<
-$(CPPFLAGS2) /c ..\common\y_tab.c -DUSE_DEFINE -DYY_USE_PROTOS /Fo$@
-<<
-
-..\common\y_tab.c: ..\common\dosyacc.c
- copy "..\common"\dosyacc.c "..\common"\y_tab.c
-
-..\common\lex_yy.c: ..\common\doslex.c
- copy "..\common"\doslex.c "..\common"\lex_yy.c
-
-$(OBJECTS): $(SETUP_H)
+$(OBJECTS): $(WXDIR)/include/wx/setup.h
..\common\$D\unzip.obj: ..\common\unzip.c
cl @<<
-erase $(COMMDIR)\$D\*.sbr
-erase $(COMMDIR)\$D\*.idb
-erase $(COMMDIR)\$D\*.pch
- -erase $(COMMDIR)\y_tab.c
- -erase $(COMMDIR)\lex_yy.c
-erase $(MSWDIR)\$D\*.idb
-erase $(MSWDIR)\$D\*.pdb
-erase $(MSWDIR)\$D\*.pch