mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 03:53:32 +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)
|
||||
endif
|
||||
|
||||
depend:
|
||||
makedepend -- $(CPPFLAGS) $(DEPEND_CPPFLAGS) -- $(wildcard *.cpp *.h)
|
||||
depend.mk: $(SRC_ALL_CPP)
|
||||
> $@ && makedepend -f depend.mk -- $(CPPFLAGS) $(DEPEND_CPPFLAGS) -- $(SRC_ALL_CPP)
|
||||
|
||||
depend: depend.mk
|
||||
|
||||
checkroot:
|
||||
@if [ "$(CHECK_ROOT)" = true -o "$(CHECK_ROOT)" = TRUE ] ; then \
|
||||
|
|
@ -209,8 +211,11 @@ tmpclean:
|
|||
objclean:
|
||||
rm -rf core core.* .*.o *.o *.a *.so *.so.*
|
||||
|
||||
depclean:
|
||||
rm -f depend.mk *.bak
|
||||
|
||||
mocclean:
|
||||
rm -rf $(MOC_CPP)
|
||||
rm -rf moc_*
|
||||
|
||||
uicclean:
|
||||
rm -rf $(UIC_CPP) $(UIC_H)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue