]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
examples/Makefile assumes GNU make. 1089/head
authorBjörn Ketelaars <bjorn.ketelaars@hydroxide.nl>
Sat, 31 Mar 2018 08:25:07 +0000 (10:25 +0200)
committerBjörn Ketelaars <bjorn.ketelaars@hydroxide.nl>
Sat, 31 Mar 2018 08:25:12 +0000 (10:25 +0200)
This fixes a building issue on systems that default to a different
flavour of make (as is the case with OpenBSD).

examples/Makefile

index 2910d23b6c7fd0125448dec0a35854b24eea79a1..96af41b54423e6ac34cfd9db0ef68aebdef8a69d 100644 (file)
@@ -22,7 +22,7 @@ all: simple_compression simple_decompression \
        multiple_streaming_compression streaming_memory_usage
 
 $(LIB) :
-       make -C ../lib libzstd.a
+       $(MAKE) -C ../lib libzstd.a
 
 simple_compression : simple_compression.c $(LIB)
        $(CC) $(CPPFLAGS) $(CFLAGS) $^ $(LDFLAGS) -o $@