Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
rbm78bln committed Nov 21, 2022
1 parent 92c9203 commit 7a33962
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,15 @@ CXXFLAGS = -Wall -Wno-sign-compare -O2
default: $(TARGET)

test: $(TARGET)
./$(TARGET) -c \( -C \) -g -r 10 -d -b -S d -T 3 -f levenshtein.cpp 'prefix(levenshtein)suffix' 2>&1
./$(TARGET) -c \( -C \) -g -r 10 -d -b -S d -T 3 -f src/levenshtein.cpp 'prefix(levenshtein)suffix' 2>&1

clean:
$(RM) -v $(OBJS) $(BUILDDIR)/$(TARGET).unstripped $(TARGET)
rmdir $(BUILDDIR)

install: $(TARGET)
sudo install --compare --owner=root --group=root --mode=0755 $(TARGET) /usr/local/bin

$(BUILDDIR):
mkdir -pv $(BUILDDIR)

Expand Down

0 comments on commit 7a33962

Please sign in to comment.