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