chiark
/
gitweb
/
~ian
/
ian-dotfiles.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Pick out autotitle
[ian-dotfiles.git]
/
autotitle
/
Makefile
1
INSTALLDIR= $(HOME)/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
rm -f $@
18
ln autotitle $@
19
20
autotitle: autotitle.c Makefile
21
$(CC) $(CFLAGS) $(CPPFLAGS) autotitle.c -o $@ $(XLIB)
22
strip autotitle