summaryrefslogtreecommitdiff
path: root/noncore/apps/qashmoney/make_arm
Side-by-side diff
Diffstat (limited to 'noncore/apps/qashmoney/make_arm') (more/less context) (ignore whitespace changes)
-rwxr-xr-xnoncore/apps/qashmoney/make_arm23
1 files changed, 23 insertions, 0 deletions
diff --git a/noncore/apps/qashmoney/make_arm b/noncore/apps/qashmoney/make_arm
new file mode 100755
index 0000000..4d0dc1c
--- a/dev/null
+++ b/noncore/apps/qashmoney/make_arm
@@ -0,0 +1,23 @@
+# Use this script to automatically make the arm version
+# of QashMoney. The arm.sh file must be in this folder
+# for it to work
+
+# clean the directory then remove the Makefile
+echo "Cleaning the directory and removing the current Makefile..."
+if [ -e Makefile ]
+then
+ make clean
+ rm Makefile
+fi
+
+# set the environment variables for the arm environment
+echo "Setting environment variables..."
+source arm.sh
+
+# Make the new Makefile
+echo "Making the new Makefile..."
+tmake -o Makefile qashmoney.pro
+
+# Make the program
+echo "Making the program..."
+make