Documentation: restore a space in unpack-objects usage
[git.git] / tools / Makefile
blobe423af9593208338e83222855c255ee8f3a39b0b
2 # Make Linus git-tools
4 CC=gcc
5 COPTS=-O2
6 CFLAGS=-g $(COPTS) -Wall
7 INSTALL=install
8 HOME=$(shell echo $$HOME)
9 prefix=$(HOME)
10 bindir=$(prefix)/bin
11 # dest=
13 PROGRAMS=git-mailsplit git-mailinfo
14 SCRIPTS=git-applymbox git-applypatch
16 git-%: %.c
17 $(CC) $(CFLAGS) -o $@ $(filter %.c,$^)
19 all: $(PROGRAMS)
21 install: $(PROGRAMS) $(SCRIPTS)
22 $(INSTALL) -m755 -d $(dest)$(bindir)
23 $(INSTALL) $(PROGRAMS) $(SCRIPTS) $(dest)$(bindir)
25 clean:
26 rm -f $(PROGRAMS) *.o