mirror of
https://github.com/git/git.git
synced 2024-11-02 07:17:58 +01:00
a52b41b265
Another instance of $(bin) was missed when it was renamed to $(bindir). Signed-off-by: Junio C Hamano <junkio@cox.net>
26 lines
453 B
Makefile
26 lines
453 B
Makefile
#
|
|
# Make Linus git-tools
|
|
#
|
|
CC=gcc
|
|
COPTS=-O2
|
|
CFLAGS=-g $(COPTS) -Wall
|
|
INSTALL=install
|
|
HOME=$(shell echo $$HOME)
|
|
prefix=$(HOME)
|
|
bindir=$(prefix)/bin
|
|
# dest=
|
|
|
|
PROGRAMS=git-mailsplit git-mailinfo
|
|
SCRIPTS=git-applymbox git-applypatch
|
|
|
|
git-%: %.c
|
|
$(CC) $(CFLAGS) -o $@ $(filter %.c,$^)
|
|
|
|
all: $(PROGRAMS)
|
|
|
|
install: $(PROGRAMS) $(SCRIPTS)
|
|
$(INSTALL) -m755 -d $(dest)$(bindir)
|
|
$(INSTALL) $(PROGRAMS) $(SCRIPTS) $(dest)$(bindir)
|
|
|
|
clean:
|
|
rm -f $(PROGRAMS) *.o
|