Mercurial > vim
view src/tee/Makefile @ 6989:c0a23e04c929 v7.4.812
patch 7.4.812
Problem: Gcc sanitizer complains about using a NULL pointer to memmove().
Solution: Only call memmove when there is something to move. (Vittorio
Zecca)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sat, 08 Aug 2015 18:23:46 +0200 |
parents | 3fc0f57ecb91 |
children | d95d6580d84b |
line wrap: on
line source
# A very (if not the most) simplistic Makefile for OS/2 CC=gcc CFLAGS=-O2 -fno-strength-reduce tee.exe: tee.o $(CC) $(CFLAGS) -s -o $@ $< tee.o: tee.c $(CC) $(CFLAGS) -c $< clean: - del tee.o - del tee.exe