Skip to content

Commit

Permalink
reference to -lz must be included in make file
Browse files Browse the repository at this point in the history
  • Loading branch information
bhillmann committed Dec 15, 2020
1 parent 4a75c37 commit ec6f943
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions src/Makefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
CC=gcc
.PHONY : all

all: shi7_trimmer gotta_split

clean:
rm shi7_trimmer
rm gotta_split

shi7_trimmer: shi7_trimmer.c ; $(CC) -m64 -std=gnu99 -O3 -fwhole-program -o shi7_trimmer shi7_trimmer.c

gotta_split: gotta_split_swapped.c ; $(CC) -m64 -std=gnu99 -O3 -o gotta_split gotta_split_swapped.c
CC=gcc
.PHONY : all

all: shi7_trimmer gotta_split

clean:
rm shi7_trimmer
rm gotta_split

shi7_trimmer: shi7_trimmer.c ; $(CC) -m64 -lz -std=gnu99 -O3 -fwhole-program -o shi7_trimmer shi7_trimmer.c

gotta_split: gotta_split_swapped.c ; $(CC) -m64 -std=gnu99 -O3 -o gotta_split gotta_split_swapped.c

0 comments on commit ec6f943

Please sign in to comment.