Skip to content

Instantly share code, notes, and snippets.

@rbertoche
Created June 29, 2018 19:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rbertoche/f85571d7a33d4316c73cecea76bc9456 to your computer and use it in GitHub Desktop.
Save rbertoche/f85571d7a33d4316c73cecea76bc9456 to your computer and use it in GitHub Desktop.
diff -r fd16e4dcccfe clean_makefiles.pri
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/clean_makefiles.pri Fri Jun 29 16:31:09 2018 -0300
@@ -0,0 +1,5 @@
+
+clean_makefiles.commands = -rm -f Makefile
+clean_makefiles.CONFIG = phony recursive
+QMAKE_EXTRA_TARGETS += clean_makefiles
+
diff -r fd16e4dcccfe template_project.pri
--- a/template_project.pri Wed Mar 07 20:39:18 2018 -0300
+++ b/template_project.pri Fri Jun 29 16:31:09 2018 -0300
@@ -19,6 +19,11 @@
CONFIG *= static
LANGUAGE = C++
+clean_makefiles.commands = rm -f Makefile
+clean_makefiles.CONFIG = phony recursive
+
+QMAKE_EXTRA_TARGETS += clean_makefiles
+
!include(setup.pri) { error("Erro incluindo o setup.pri do subrepo pri -- $$_PRO_FILE_") }
PROJECT_RULES_PRI = $$_PRO_FILE_PWD_/project_rules.pri
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment