From: Alexander Barton Date: Sun, 2 Nov 2014 19:30:13 +0000 (+0100) Subject: Build all aclock variants on "make all" X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=aclock.git;a=commitdiff_plain;h=5b0d5965a401e97e0ee606d678a725c23fce1e2d;hp=2e394ec3255187ce1abf9bde5ef69505bc0658d3 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. --- 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