]> git.saurik.com Git - wxWidgets.git/commitdiff
wxMGL Watcom makefiles fixes
authorVáclav Slavík <vslavik@fastmail.fm>
Thu, 17 Jan 2002 00:18:09 +0000 (00:18 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Thu, 17 Jan 2002 00:18:09 +0000 (00:18 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

distrib/msw/tmake/watmgl.t

index a0a3db08beebd88a3c14a9c09be2d49984a6e043..164f233dc9463253ddb048cb2a4232fd31e2c2c7 100644 (file)
@@ -119,7 +119,16 @@ HTMLOBJS = #$ ExpandGlue("WXHTMLOBJS", "", " &\n\t")
 # Add $(NONESSENTIALOBJS) if wanting generic dialogs, PostScript etc.
 OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MGLOBJS) $(UNIVOBJS) $(UNIVTHEMEOBJS) $(HTMLOBJS)
 
-all:        $(OBJECTS) $(LIBTARGET) $(EXTRATARGETS) .SYMBOLIC
+SETUP_H=$(ARCHINCDIR)\wx\setup.h
+
+all:        $(SETUP_H) $(OBJECTS) $(LIBTARGET) $(EXTRATARGETS) .SYMBOLIC
+
+$(ARCHINCDIR)\wx:
+    mkdir $(ARCHINCDIR)
+    mkdir $(ARCHINCDIR)\wx
+
+$(SETUP_H): $(WXDIR)\include\wx\mgl\setup.h $(ARCHINCDIR)\wx
+    copy $(WXDIR)\include\wx\mgl\setup.h $@
 
 $(LIBTARGET) : $(OBJECTS)
     %create tmp.lbc