chiark / gitweb /
standard-display-european broke various stuff
[ian-dotfiles.git] / autotitle / Makefile
1 INSTALLDIR=     $(HOME)/personal/linux-i386/bin
2 INSTALLED=      $(INSTALLDIR)/autotitle
3 X11=            /usr/X11R6
4
5 CC=             gcc
6 CPPFLAGS=       $(OPTIONS) -I$(X11)/include
7 CFLAGS=         $(OPTIMISE)
8 OPTIMISE=       -O2
9 OPTIONS=        -DNOXTERM
10 XLIB=           -L$(X11)/lib -lX11
11
12 default:        autotitle
13
14 install:        $(INSTALLED)
15
16 $(INSTALLED):   autotitle
17                 install -d $(INSTALLDIR)
18                 rm -f $@
19                 ln autotitle $@
20
21 autotitle:      autotitle.c Makefile
22                 $(CC) $(CFLAGS) $(CPPFLAGS) autotitle.c -o $@ $(XLIB)
23                 strip autotitle