is there was a command on the Makefile for that, and if not is the language used by Makefile open source ? im not too afraid of processor code (if its is language)
Asked
Active
Viewed 504 times
0
-
Which operating system? – James M Nov 28 '13 at 23:31
-
Im using Ubuntu or other POSIX – Saxtheowl Nov 28 '13 at 23:33
-
1`make ... && echo ^G` perhaps? (See: [In a bash script/command how can I make a PC beep noise, or play a sound file?](http://stackoverflow.com/questions/1143386/in-a-bash-script-command-how-can-i-make-a-pc-beep-noise-or-play-a-sound-file)) – Kninnug Nov 28 '13 at 23:39
-
You probably need to look at this solution: http://askubuntu.com/questions/19906/beep-in-shell-script-not-working – Alexander Myshov Nov 29 '13 at 00:36
1 Answers
2
This has nothing to do with makefile itself. makefiles and make, are just tools designed to build files ("targets" in make parlance) with shell commands ("recipes") in an efficient way. A "phony" target such as all
should not have a recipe that builds anything, but it can very well play a sound:
all:
list of targets you want to build
tab play sound in your shell
In this way, the sound command will play only after all the targets listed have updated successfully.

Mark Galeck
- 6,155
- 1
- 28
- 55