summaryrefslogtreecommitdiff
path: root/tools/Makefile
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-09-07 19:22:56 (GMT)
committerJunio C Hamano <junkio@cox.net>2005-09-07 19:22:56 (GMT)
commit597c9cc540c2ca5d0b0eeaa3f453dffa14afab6d (patch)
tree612203df758893cbf96fc2fccf9e9b0c858cb717 /tools/Makefile
parentb893f09104ee5f1d8710dfe17cdf1cbac995f17a (diff)
downloadgit-597c9cc540c2ca5d0b0eeaa3f453dffa14afab6d.zip
git-597c9cc540c2ca5d0b0eeaa3f453dffa14afab6d.tar.gz
git-597c9cc540c2ca5d0b0eeaa3f453dffa14afab6d.tar.bz2
Flatten tools/ directory to make build procedure simpler.
Also make platform specific part more isolated. Currently we only have Darwin defined, but I've taken a look at SunOS specific patch (which I dropped on the floor for now) as well. Doing things this way would make adding it easier. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'tools/Makefile')
-rw-r--r--tools/Makefile25
1 files changed, 0 insertions, 25 deletions
diff --git a/tools/Makefile b/tools/Makefile
deleted file mode 100644
index 5cc6d14..0000000
--- a/tools/Makefile
+++ /dev/null
@@ -1,25 +0,0 @@
-#
-# Make Linus git-tools
-#
-CC=gcc
-CFLAGS = -O2 -g -Wall
-ALL_CFLAGS = $(CFLAGS)
-INSTALL=install
-prefix=$(HOME)
-bindir=$(prefix)/bin
-# DESTDIR=
-
-PROGRAMS=git-mailsplit git-mailinfo
-SCRIPTS=git-applymbox git-applypatch
-
-git-%: %.c
- $(CC) $(ALL_CFLAGS) -o $@ $(filter %.c,$^)
-
-all: $(PROGRAMS)
-
-install: $(PROGRAMS) $(SCRIPTS)
- $(INSTALL) -m755 -d $(DESTDIR)$(bindir)
- $(INSTALL) $(PROGRAMS) $(SCRIPTS) $(DESTDIR)$(bindir)
-
-clean:
- rm -f $(PROGRAMS) *.o