summaryrefslogtreecommitdiffhomepage
path: root/Makefile.frag
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.frag')
-rw-r--r--Makefile.frag4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.frag b/Makefile.frag
index e4774f4..39f9efd 100644
--- a/Makefile.frag
+++ b/Makefile.frag
@@ -10,9 +10,9 @@ install: filters_install
clean: filters_clean
$(filters_lo) : $(filters_builddir)/%.lo : $(filters_srcdir)/%.c
- $(LIBTOOL) --mode=compile $(CC) -c `php-config --includes` -I$(top_srcdir) $(filters_srcdir)/$*.c -o $(filters_builddir)/$*.lo
+ $(LIBTOOL) --mode=compile $(CC) $(COMMON_FLAGS) $(CFLAGS_CLEAN) $(EXTRA_CFLAGS) -c $(filters_srcdir)/$*.c -o $(filters_builddir)/$*.lo
$(filters_la) : %.la : %.lo
- $(LIBTOOL) --mode=link $(CC) -module -avoid-version -o $*.la $*.lo -rpath $(filters_libdir) -lm
+ $(LIBTOOL) --mode=link $(CC) $(COMMON_FLAGS) $(CFLAGS_CLEAN) $(EXTRA_CFLAGS) $(LDFLAGS) -module -avoid-version -o $*.la $*.lo -rpath $(filters_libdir) $(EXTRA_LDFLAGS)
filters_install:
$(mkinstalldirs) $(filters_libdir)
$(LIBTOOL) --mode=install cp $(filters_la) $(filters_libdir)