mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
rules.mk: Add rules depend and depclean
This commit is contained in:
parent
48ade6d98b
commit
ea6727a129
1 changed files with 8 additions and 3 deletions
|
|
@ -184,8 +184,10 @@ else
|
||||||
install_profile_path: $(INSTALLED_PROFILE_PATH_SCRIPT)
|
install_profile_path: $(INSTALLED_PROFILE_PATH_SCRIPT)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
depend:
|
depend.mk: $(SRC_ALL_CPP)
|
||||||
makedepend -- $(CPPFLAGS) $(DEPEND_CPPFLAGS) -- $(wildcard *.cpp *.h)
|
> $@ && makedepend -f depend.mk -- $(CPPFLAGS) $(DEPEND_CPPFLAGS) -- $(SRC_ALL_CPP)
|
||||||
|
|
||||||
|
depend: depend.mk
|
||||||
|
|
||||||
checkroot:
|
checkroot:
|
||||||
@if [ "$(CHECK_ROOT)" = true -o "$(CHECK_ROOT)" = TRUE ] ; then \
|
@if [ "$(CHECK_ROOT)" = true -o "$(CHECK_ROOT)" = TRUE ] ; then \
|
||||||
|
|
@ -209,8 +211,11 @@ tmpclean:
|
||||||
objclean:
|
objclean:
|
||||||
rm -rf core core.* .*.o *.o *.a *.so *.so.*
|
rm -rf core core.* .*.o *.o *.a *.so *.so.*
|
||||||
|
|
||||||
|
depclean:
|
||||||
|
rm -f depend.mk *.bak
|
||||||
|
|
||||||
mocclean:
|
mocclean:
|
||||||
rm -rf $(MOC_CPP)
|
rm -rf moc_*
|
||||||
|
|
||||||
uicclean:
|
uicclean:
|
||||||
rm -rf $(UIC_CPP) $(UIC_H)
|
rm -rf $(UIC_CPP) $(UIC_H)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue