- 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:
@@ -1,4 +1,4 @@
|
|||||||
## BeOS Generic Makefile v2.2 ##
|
## BeOS Generic Makefile v2.3 ##
|
||||||
|
|
||||||
## Fill in this file to specify the project being created, and the referenced
|
## Fill in this file to specify the project being created, and the referenced
|
||||||
## makefile-engine will do all of the hard work for you. This handles both
|
## makefile-engine will do all of the hard work for you. This handles both
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
## Does all the hard work for the Generic Makefile
|
## Does all the hard work for the Generic Makefile
|
||||||
## which simply defines the project parameters
|
## 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
|
# determine wheather running on x86 or ppc
|
||||||
MACHINE=$(shell uname -m)
|
MACHINE=$(shell uname -m)
|
||||||
@@ -351,9 +351,9 @@ $(OBJ_DIR)/%.o : %.CPP
|
|||||||
|
|
||||||
# rules to compile resource definition files
|
# rules to compile resource definition files
|
||||||
$(OBJ_DIR)/%.rsrc : %.rdef
|
$(OBJ_DIR)/%.rsrc : %.rdef
|
||||||
$(RESCOMP) -o $@ $<
|
cat $< | $(CC) -E $(INCLUDES) $(CFLAGS) - | grep -v '^#' | $(RESCOMP) -o $@ -
|
||||||
$(OBJ_DIR)/%.rsrc : %.RDEF
|
$(OBJ_DIR)/%.rsrc : %.RDEF
|
||||||
$(RESCOMP) -o $@ $<
|
cat $< | $(CC) -E $(INCLUDES) $(CFLAGS) - | grep -v '^#' | $(RESCOMP) -o $@ -
|
||||||
|
|
||||||
# rules to handle lex/flex and yacc/bison files
|
# rules to handle lex/flex and yacc/bison files
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user