]> arthur.barton.de Git - aclock.git/commitdiff
Build all aclock variants on "make all"
authorAlexander Barton <alex@barton.de>
Sun, 2 Nov 2014 19:30:13 +0000 (20:30 +0100)
committerAlexander Barton <alex@barton.de>
Sun, 2 Nov 2014 19:30:13 +0000 (20:30 +0100)
But use "aclock", which depends on the default variant, as the default
make target, so that calling "make" without naming a special target
still results in the default aclock binary only.

Makefile

index 0ae9939ffbf8e2a2ed684ebb909c7ba23ce5f09c..30968e311c121649b983776fb23c06dcaf02efae 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -6,12 +6,12 @@ DEFAULT_ACLOCK ?= aclock-curses
 
 SUBDIRS = 
 
-all: aclock
-
 aclock: $(DEFAULT_ACLOCK)
        rm -f aclock
        ln -s $(DEFAULT_ACLOCK) aclock
 
+all: aclock-aalib aclock-curses aclock-termcap aclock
+
 aclock-aalib:
        gcc -O2 aclock-unix-aalib.c -o aclock -laa -lm