archive of my old "comic compressor" project
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

19 lines
495 B

CFLAGS = -Ofast -march=native
CFLAGS_TEST = -O0 -ggdb
all: encoder decoder
test: encoder_test decoder_test
encoder:
clang src/encoder.c -o encoder $(CFLAGS) -I./include -L. lib/libz.a -Wall
decoder:
clang src/decoder.c -o decoder $(CFLAGS) -I./include -L. lib/libz.a -Wall
encoder_test:
clang src/encoder.c -o encoder $(CFLAGS_TEST) -I./include -L. lib/libz.a -Wall
decoder_test:
clang src/decoder.c -o decoder $(CFLAGS_TEST) -I./include -L. lib/libz.a -Wall
clean:
rm encoder decoder