- added preprocessing of RDEF scripts during resource compilation;

- version of makefile template increased to 2.3 because of adding RDEFS list in previous commit.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30936 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
imker
2009-06-01 10:26:58 +00:00
parent 02e7619126
commit b2329f081e
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -2,7 +2,7 @@
## Does all the hard work for the Generic Makefile
## which simply defines the project parameters
## Supports Generic Makefile v2.0, 2.01, 2.1, 2.2
## Supports Generic Makefile v2.0, 2.01, 2.1, 2.2, 2.3
# determine wheather running on x86 or ppc
MACHINE=$(shell uname -m)
@@ -351,9 +351,9 @@ $(OBJ_DIR)/%.o : %.CPP
# rules to compile resource definition files
$(OBJ_DIR)/%.rsrc : %.rdef
$(RESCOMP) -o $@ $<
cat $< | $(CC) -E $(INCLUDES) $(CFLAGS) - | grep -v '^#' | $(RESCOMP) -o $@ -
$(OBJ_DIR)/%.rsrc : %.RDEF
$(RESCOMP) -o $@ $<
cat $< | $(CC) -E $(INCLUDES) $(CFLAGS) - | grep -v '^#' | $(RESCOMP) -o $@ -
# rules to handle lex/flex and yacc/bison files