-clean: $(PERIPH_CLEAN_TARGET) clean_png clean_zlib clean_jpeg clean_xpm
- -erase $(LIBTARGET)
- -erase ..\..\lib\wx200.dll
- -erase ..\..\lib\wx200.lib
- -erase $(GENDIR)\$D\*.obj
- -erase $(COMMDIR)\$D\*.obj
- -erase $(COMMDIR)\\y_tab.c
- -erase $(COMMDIR)\lex_yy.c
- -erase $(OS2DIR)\$D\*.obj
- -rmdir $(D)
- -rmdir ..\generic\$(D)
- -rmdir ..\common\$(D)
- -rmdir ..\html\$(D)
- -rmdir ..\os2\$(D)
+png:
+ cd $(WXDIR)\src\png
+ nmake -f makefile.va FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
+ cd $(WXDIR)\src\os2
+
+clean_png:
+ cd $(WXDIR)\src\png
+ nmake -f makefile.va clean
+ cd $(WXDIR)\src\os2
+
+zlib:
+ cd $(WXDIR)\src\zlib
+ nmake -f makefile.va FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
+ cd $(WXDIR)\src\os2
+
+clean_zlib:
+ cd $(WXDIR)\src\zlib
+ nmake -f makefile.va clean
+ cd $(WXDIR)\src\os2
+
+jpeg:
+ cd $(WXDIR)\src\jpeg
+ nmake -f makefile.va FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
+ cd $(WXDIR)\src\os2
+
+clean_jpeg:
+ cd $(WXDIR)\src\jpeg
+ nmake -f makefile.va clean
+ cd $(WXDIR)\src\os2
+
+tiff:
+ cd $(WXDIR)\src\tiff
+ nmake -f makefile.va FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
+ cd $(WXDIR)\src\os2
+
+clean_tiff:
+ cd $(WXDIR)\src\tiff
+ nmake -f makefile.va clean
+ cd $(WXDIR)\src\os2
+
+clean: $(PERIPH_CLEAN_TARGET) clean_png clean_zlib clean_jpeg clean_tiff
+ erase /N $(GENDIR)\$D\*.obj
+ erase /N $(COMMDIR)\$D\*.obj
+ erase /N $(HTMLDIR)\$D\*.obj
+ erase /N $(OS2DIR)\$D\*.obj
+ rd $(D)
+ rd ..\generic\$D
+ rd ..\common\$D
+ rd ..\html\$D
+ rd ..\os2\$D
+ del $(LIBTARGET)
+!if "$(WXMAKINGDLL)" == "1"
+ erase /N ..\..\lib\wx23.lib
+!endif
+ erase /N $(COMMDIR)\y_tab.c
+ erase /N $(COMMDIR)\lex_yy.c