summaryrefslogtreecommitdiff
path: root/bin/MakeProjectCreator/templates
diff options
context:
space:
mode:
authorelliott_c <elliott_c@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2005-05-18 14:28:17 +0000
committerelliott_c <elliott_c@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2005-05-18 14:28:17 +0000
commita97e2526ef04a6f13abfe47f352ea3b7da0ecc4c (patch)
tree8912b8b69fab857a97850626465ce7d2e53630a8 /bin/MakeProjectCreator/templates
parent85024a9ac0aa16e727d52186e4dd9ebf674df5eb (diff)
downloadATCD-a97e2526ef04a6f13abfe47f352ea3b7da0ecc4c.tar.gz
ChangeLogTag: Wed May 18 09:25:35 2005 Chad Elliott <elliott_c@ociweb.com>
Diffstat (limited to 'bin/MakeProjectCreator/templates')
-rw-r--r--bin/MakeProjectCreator/templates/gnu.mpd16
1 files changed, 7 insertions, 9 deletions
diff --git a/bin/MakeProjectCreator/templates/gnu.mpd b/bin/MakeProjectCreator/templates/gnu.mpd
index eab75290873..b5c67018492 100644
--- a/bin/MakeProjectCreator/templates/gnu.mpd
+++ b/bin/MakeProjectCreator/templates/gnu.mpd
@@ -59,13 +59,6 @@ FILES = \
<%endfor%>
<%endif%>
-<%if(resource_files)%>
-RESOURCES += \
-<%foreach(resource_files)%>
- <%resource_file%><%fornotlast(" \\")%>
-<%endfor%>
-
-<%endif%>
<%vpath%>
#----------------------------------------------------------------------------
# Include macros and targets
@@ -154,10 +147,15 @@ SOVERSION = .<%version%>
endif
<%endif%>
+<%if(resource_files)%>
ifneq (,$(RC))
- FILES += $(RESOURCES)
+RESOURCES += \
+<%foreach(resource_files)%>
+ <%resource_file%><%fornotlast(" \\")%>
+<%endfor%>
endif
+<%endif%>
# To build multiple targets in the same directory on AIX, it works
# best to have a template directory per project.
# The compiler/linker isn't too smart about instantiating templates...
@@ -322,7 +320,7 @@ endif
<%endfor%>
# If it contains ../ at all use notdir.
-OBJS = $(foreach var, $(addsuffix .$(OBJEXT), $(basename $(FILES))), $(if $(findstring ../,$(var)),$(notdir $(var)),$(var)))
+OBJS = $(foreach var, $(addsuffix .$(OBJEXT), $(basename $(FILES)) $(RESOURCES)), $(if $(findstring ../,$(var)),$(notdir $(var)),$(var)))
SRC = $(FILES)
<%endif%>
<%if(sharedname || staticname)%>