date.c: only use the TZ names if we don't have anything better.
[gitweb.git] / Makefile
index 783ad4d3383e87e9e1b9deb55f57a47380a2b9b3..37d7192f6cc880d732ba9db3d0f58f7f811e4ed4 100644 (file)
--- 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)