Fix generated makefile rule for building the module
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9647 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
7e830cdf05
commit
8b334887e4
1 changed files with 3 additions and 3 deletions
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
/* FIXME: PHP5 OO wrapping TODO list:
|
||||
*
|
||||
* Short term (ideally before 1.3.30 is released):
|
||||
* Short term:
|
||||
*
|
||||
* Sort out auto-renaming of method and class names which are reserved
|
||||
* words (e.g. empty, clone, exception, etc.) vs -php4/-php5 in some
|
||||
|
|
@ -350,9 +350,9 @@ public:
|
|||
Printf(f_make, "EXTRA_LIB=\n\n");
|
||||
Printf(f_make, "$(MODULE): $(OBJS)\n");
|
||||
if (CPlusPlus || (withcxx != NULL)) {
|
||||
Printf(f_make, "\t$(CXX) $(LDFLAGS) $(OBJS) -o $(PROG) $(EXTRA_LIB)\n\n");
|
||||
Printf(f_make, "\t$(CXX) $(LDFLAGS) $(OBJS) -o $@ $(EXTRA_LIB)\n\n");
|
||||
} else {
|
||||
Printf(f_make, "\t$(CC) $(LDFLAGS) $(OBJS) -o $(PROG) $(EXTRA_LIB)\n\n");
|
||||
Printf(f_make, "\t$(CC) $(LDFLAGS) $(OBJS) -o $@ $(EXTRA_LIB)\n\n");
|
||||
}
|
||||
Printf(f_make, "%%.o: %%.cpp\n");
|
||||
Printf(f_make, "\t$(CXX) $(EXTRA_INC) $(PHP_INC) $(CFLAGS) -c $<\n");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue