chiark / gitweb /
Merge old CVS `ian-dotfiles' repo, as a subtree where we can pick bits
[ian-dotfiles.git] / from-cvs / misc / Makefile
1 INSTALLDIR=     $(HOME)/bin
2
3 TARGETS=        with-lock-ex close3onwards
4
5 CC=             gcc
6 CPPFLAGS=       $(OPTIONS)
7 CFLAGS=         $(OPTIMISE)
8 OPTIMISE=       -O2
9 OPTIONS=
10
11 default:        $(TARGETS)
12
13 install:
14                 set -e; for f in $(TARGETS); do \
15                         rm -f $(INSTALLDIR)/$$f; \
16                         ln $$f $(INSTALLDIR)/$$f; \
17                 done