Skip to content

Commit

Permalink
Simplify build
Browse files Browse the repository at this point in the history
  • Loading branch information
kovzol committed Feb 11, 2025
1 parent 39911e2 commit 68c66e1
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions statements/Makefile
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
BIBREF = -DIN_BIBREF
# Disable this to not use bibref during parsing.

CC = cc -g
CXX = g++ -g
LEX = flex
YACC = bison
CFLAGS = -DYYDEBUG=1 $(BIBREF)
CFLAGS = -DYYDEBUG=1

all: pbrst-cli

pbrst-cli: pbrst.tab.o pbrst.o pbrst-cli.o books-wrapper.o fingerprint-wrapper.o books.o cli.o book.o psalmsinfo.o fingerprint.o
${CXX} $(BIBREF) -o $@ books-wrapper.o fingerprint-wrapper.o pbrst.tab.o pbrst.o pbrst-cli.o books.o cli.o book.o psalmsinfo.o fingerprint.o \
${CXX} -o $@ books-wrapper.o fingerprint-wrapper.o pbrst.tab.o pbrst.o pbrst-cli.o books.o cli.o book.o psalmsinfo.o fingerprint.o \
-lsword -lboost_system -lboost_filesystem -lreadline

pbrst.tab.c pbrst.tab.h: pbrst.y
Expand Down

0 comments on commit 68c66e1

Please sign in to comment.