summaryrefslogtreecommitdiff
path: root/tools/Makefile
diff options
context:
space:
mode:
authoraaaaaa123456789 <aaaaaa123456789@acidch.at>2020-05-23 14:30:04 -0300
committerGitHub <noreply@github.com>2020-05-23 13:30:04 -0400
commit2b7237e299d5018e837bae550d18deeff3c7db7d (patch)
treef5ad065c573e8c16c99ca39f09b217a9cb7021d3 /tools/Makefile
parentf1513ae8ad47c603abdba2749ef3e4e046817623 (diff)
Match LZ compressed files (#724)
Replace lzcomp with new version and match all LZ compressed files
Diffstat (limited to 'tools/Makefile')
-rw-r--r--tools/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/Makefile b/tools/Makefile
index 768f8912e..4381098db 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -20,5 +20,9 @@ clean:
gfx md5: common.h
+lzcomp: CFLAGS = -O3 -flto -std=c11 -Wall -Wextra -pedantic -Wno-strict-overflow -Wno-sign-compare
+lzcomp: $(wildcard lz/*.c) $(wildcard lz/*.h)
+ $(CC) $(CFLAGS) -o $@ lz/*.c
+
%: %.c
$(CC) $(CFLAGS) -o $@ $<