projects
/
m6w6
/
ext-psi
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
get rid of weird lemon symbols
[m6w6/ext-psi]
/
Makefile.frag
diff --git
a/Makefile.frag
b/Makefile.frag
index 65e5ed7751993fdbe4d12d2ad660e5350d57dfc0..ff6460b7d4d85e27f0790ea46691bc3f10d25f60 100644
(file)
--- a/
Makefile.frag
+++ b/
Makefile.frag
@@
-19,7
+19,6
@@
psi-build-headers: $(PHP_PSI_HEADERS)
.PHONY: psi-clean-headers
psi-clean-headers:
-rm -f $(PHP_PSI_HEADERS)
.PHONY: psi-clean-headers
psi-clean-headers:
-rm -f $(PHP_PSI_HEADERS)
- -rmdir $(PHP_PSI_BUILDDIR)/types
.PHONY: psi-clean-sources
psi-clean-sources:
.PHONY: psi-clean-sources
psi-clean-sources:
@@
-63,22
+62,23
@@
$(PHP_PSI_SRCDIR)/src/context.c: $(PHP_PSI_SRCDIR)/php_psi_consts.h $(PHP_PSI_SR
# -- deps
# -- deps
-PHP_PSI_DEPEND = $(
PHP_PSI_SOURCES:.c=.d
)
+PHP_PSI_DEPEND = $(
patsubst $(PHP_PSI_SRCDIR)/%,$(PHP_PSI_BUILDDIR)/%,$(PHP_PSI_SOURCES:.c=.dep)
)
.PHONY: psi-clean-depend
psi-clean-depend:
.PHONY: psi-clean-depend
psi-clean-depend:
- -rm -f $(PHP_PSI_DEPEND)
+ -rm -f $(PHP_PSI_DEPEND)
$(PHP_PSI_BUILDDIR)/php_psi.dep
psi-clean: psi-clean-depend
psi-clean: psi-clean-depend
-
%.d:
%.c
- $(CC) -MM -MG -MF $@ -MT $(patsubst $(PHP_PSI_SRCDIR)/%,$(PHP_PSI_BUILDDIR)/%,$(@:.d=.lo)) \
+
$(PHP_PSI_BUILDDIR)/%.dep: $(PHP_PSI_SRCDIR)/
%.c
+ $(CC) -MM -MG -MF $@ -MT $(patsubst $(PHP_PSI_SRCDIR)/%,$(PHP_PSI_BUILDDIR)/%,$(@:.d
ep
=.lo)) \
$(CPPFLAGS) $(DEFS) $(INCLUDES) $< \
|| touch $@
DEPS =
ifneq ($(DEPS),)
-include $(PHP_PSI_DEPEND)
$(CPPFLAGS) $(DEFS) $(INCLUDES) $< \
|| touch $@
DEPS =
ifneq ($(DEPS),)
-include $(PHP_PSI_DEPEND)
+-include $(PHP_PSI_BUILDDIR)/php_psi.dep
endif
endif