Makefile 322 B

123456789101112131415
  1. version?=$(shell date)
  2. target?=main
  3. all: rule/${target}
  4. rule/${target}: clean
  5. zip -r ../${@F}.wgt . \
  6. -x '*.git/*' -x '*.svn/*' -x '*~' -x '*.pc/*' \
  7. -x '.settings' -x '.build/*' -x '.settings/*' \
  8. -x .gitignore -x 'Makefile' \
  9. -x '.rds_delta' -x '.sdk_delta.info' -x '.project' -x '*.wgt'
  10. clean:
  11. rm -f *.wgt *~