ApplicationDefinition.st
changeset 14856 dd8ceb4bc14f
parent 14855 bc2229332ede
child 14857 e531889798fc
--- a/ApplicationDefinition.st	Mon Mar 11 19:32:04 2013 +0100
+++ b/ApplicationDefinition.st	Mon Mar 11 21:08:50 2013 +0100
@@ -764,7 +764,7 @@
 !
 
 resourceFilename
-    ^ (self rcFilename asFilename withSuffix:'res') name
+    ^ (self rcFilename asFilename withSuffix:'$(RES)') name
 
     "Created: / 07-09-2006 / 17:12:53 / cg"
 ! !
@@ -1652,7 +1652,8 @@
 ALLLIB=$(LIBFILES) $(APP_IMPORTLIBS) $(APP_RT_LIB)
 
 REQUIRED_LIBS=librun.dll %(REQUIRED_LIBS)
-REQUIRED_FILES=cs3245.dll X11.dll Xext.dll symbols.stc $(REQUIRED_LIBS)
+# REQUIRED_FILES=cs3245.dll X11.dll Xext.dll symbols.stc $(REQUIRED_LIBS)
+REQUIRED_FILES=$(RT_DLL) $(X11_DLL) $(XEXT_DLL) symbols.stc $(REQUIRED_LIBS)
 
 REQUIRED_SUPPORT_DIRS=%(REQUIRED_SUPPORT_DIRS)
 
@@ -1793,7 +1794,7 @@
 #
 # additional rules
 #
-%(APPLICATION)Win.res: %(APPLICATION)Win.rc %(APPLICATION).ico
+%(APPLICATION)Win.$(RES): %(APPLICATION)Win.rc %(APPLICATION).ico
 
 main.$(O): buildDate.h main.c bc.mak
 
@@ -1836,7 +1837,7 @@
         -del $(REQUIRED_FILES)
         -del main.c
         -del *.log
-        -del *.res
+        -del *.$(RES)
         -rmdir /S /Q resources
         -rmdir /S /Q $(OBJDIR)
 
@@ -2917,11 +2918,11 @@
 !ApplicationDefinition class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/ApplicationDefinition.st,v 1.216 2013-03-11 18:32:04 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/ApplicationDefinition.st,v 1.217 2013-03-11 20:08:50 cg Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libbasic/ApplicationDefinition.st,v 1.216 2013-03-11 18:32:04 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/ApplicationDefinition.st,v 1.217 2013-03-11 20:08:50 cg Exp $'
 !
 
 version_SVN