mirror of
https://github.com/php/php-src.git
synced 2025-08-18 23:18:56 +02:00
Make the cxx suffix easily adjustable
This commit is contained in:
parent
eb0cbbd2d9
commit
dad6ac414e
1 changed files with 6 additions and 4 deletions
|
@ -43,13 +43,15 @@ DEFS = -DHAVE_CONFIG_H -I. -I$(srcdir) -I$(top_builddir) -I$(top_builddir)/main
|
|||
|
||||
moduledir = $(EXTENSION_DIR)
|
||||
|
||||
CXX_SUFFIX = .cxx
|
||||
|
||||
.SUFFIXES:
|
||||
.SUFFIXES: .slo .c .cxx .lo .o .s .y .l
|
||||
.SUFFIXES: .slo .c $(CXX_SUFFIX) .lo .o .s .y .l
|
||||
|
||||
.c.o:
|
||||
$(COMPILE) -c $<
|
||||
|
||||
.cxx.o:
|
||||
$(CXX_SUFFIX).o:
|
||||
$(CXX_COMPILE) -c $<
|
||||
|
||||
.s.o:
|
||||
|
@ -58,7 +60,7 @@ moduledir = $(EXTENSION_DIR)
|
|||
.c.lo:
|
||||
$(PHP_COMPILE)
|
||||
|
||||
.cxx.lo:
|
||||
$(CXX_SUFFIX).lo:
|
||||
$(CXX_PHP_COMPILE)
|
||||
|
||||
.s.lo:
|
||||
|
@ -67,7 +69,7 @@ moduledir = $(EXTENSION_DIR)
|
|||
.c.slo:
|
||||
$(SHARED_COMPILE)
|
||||
|
||||
.cxx.slo:
|
||||
$(CXX_SUFFIX).slo:
|
||||
$(CXX_SHARED_COMPILE)
|
||||
|
||||
.y.c:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue