Fix "make clean" to clean all binaries
[aclock.git] / Makefile
1 #
2 # Makefile
3 #
4
5 SUBDIRS = 
6
7 all: aclock
8
9 aclock: aclock-termcap
10         ln -s aclock-termcap aclock
11
12 aclock-aalib:
13         gcc -O2 aclock-unix-aalib.c -o aclock -laa -lm
14
15 aclock-curses:
16         cc aclock-unix-curses.c -o aclock-curses -lcurses -lm
17
18 aclock-termcap:
19         cc aclock-unix-termcap.c -o aclock-termcap -ltermcap -lm
20
21 clean-local:
22         rm -f aclock aclock-aalib aclock-curses aclock-termcap
23
24 include ./Makefile.ax