X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=Makefile;h=e1fce5631a615e1c941ed5f2a537da35aaaf683c;hb=HEAD;hp=ab78559f93b5b5f7ba4af6e7dfb9999c016d0a8d;hpb=5fa5dc2a67e7e417dda69f22d608f822a440f22f;p=pgn-extract diff --git a/Makefile b/Makefile index ab78559..e1fce56 100644 --- a/Makefile +++ b/Makefile @@ -20,7 +20,7 @@ OBJS=grammar.o lex.o map.o decode.o moves.o lists.o apply.o output.o eco.o\ lines.o end.o main.o hashing.o argsfile.o mymalloc.o fenmatcher.o\ - taglines.o + taglines.o farmhash-c.o DEBUGINFO=-g # These flags are particularly severe on checking warnings. @@ -40,6 +40,7 @@ CFLAGS+=-c -Wall -Wshadow -Wformat -Wpointer-arith \ -I/usr/local/lib/ansi-include \ -O3 CC=gcc +LDLIBS=-lfarmhash # AIX 3.2 Users might like to use these alternatives for CFLAGS and CC. # Thanks to Erol Basturk for providing them. @@ -47,7 +48,7 @@ AIX_CFLAGS=-c -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_ALL_SOURCE AIX_CC=xlc pgn-extract : $(OBJS) - $(CC) $(DEBUGINFO) $(OBJS) -o pgn-extract + $(CC) $(DEBUGINFO) $(OBJS) $(LDLIBS) -o pgn-extract purify : $(OBJS) purify $(CC) $(DEBUGINFO) $(OBJS) -o pgn-extract