aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-30 13:19:56 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-30 13:19:56 -0700
commit89967023da94c0d874713284869e1924797d30bb (patch)
tree4f10da641a29ece5e16b3941bc9c7dcc4ba42432 /Makefile
parent3a6a23e67d752e3083a52ad04c20c04e40c148e1 (diff)
downloadgit-89967023da94c0d874713284869e1924797d30bb.tar.gz
git-89967023da94c0d874713284869e1924797d30bb.tar.xz
Make the date parsing accept pretty much any random crap.
This date parser turns line-noise into a date. Cool.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 783ad4d33..37d7192f6 100644
--- a/Makefile
+++ b/Makefile
@@ -60,6 +60,9 @@ CFLAGS += '-DSHA1_HEADER=$(SHA1_HEADER)'
$(LIB_FILE): $(LIB_OBJS)
$(AR) rcs $@ $(LIB_OBJS)
+test-date: test-date.c date.o
+ $(CC) $(CFLAGS) -o $@ test-date.c date.o
+
git-%: %.c $(LIB_FILE)
$(CC) $(CFLAGS) -o $@ $(filter %.c,$^) $(LIBS)