[PATCH] Support packs in local-pull
[git/mingw.git] / tools / Makefile
blob5cc6d14ebc8d0bf7d91157ed57da6399fe30511a
2 # Make Linus git-tools
4 CC=gcc
5 CFLAGS = -O2 -g -Wall
6 ALL_CFLAGS = $(CFLAGS)
7 INSTALL=install
8 prefix=$(HOME)
9 bindir=$(prefix)/bin
10 # DESTDIR=
12 PROGRAMS=git-mailsplit git-mailinfo
13 SCRIPTS=git-applymbox git-applypatch
15 git-%: %.c
16 $(CC) $(ALL_CFLAGS) -o $@ $(filter %.c,$^)
18 all: $(PROGRAMS)
20 install: $(PROGRAMS) $(SCRIPTS)
21 $(INSTALL) -m755 -d $(DESTDIR)$(bindir)
22 $(INSTALL) $(PROGRAMS) $(SCRIPTS) $(DESTDIR)$(bindir)
24 clean:
25 rm -f $(PROGRAMS) *.o