This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
launchonce() { | |
app=`basename $1` | |
pidof $app >/dev/null && echo "$app is already running" || $1 & | |
} | |
launchonce_alt() { | |
pidof $2 >/dev/null && echo "$1 is already running" || $1 & | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Kierans Generic Makefile | |
# www.kieranbingham.co.uk | |
# Default to build with multiple instances for speed | |
MAKEFLAGS =+ -j | |
# Beware, This will create this application | |
# binary based on the current directory name. | |
TARGET := $(shell basename `pwd`) |
NewerOlder