From 5b0d5965a401e97e0ee606d678a725c23fce1e2d Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Sun, 2 Nov 2014 20:30:13 +0100 Subject: [PATCH] Build all aclock variants on "make all" 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 0ae9939..30968e3 100644 --- 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 -- 2.39.2