Skip to content

Commit

Permalink
allow AN*_LIB_FILE variables to be overridden, to avoid make install …
Browse files Browse the repository at this point in the history
…error
  • Loading branch information
dstndstn committed Sep 3, 2018
1 parent 7608cff commit d977bdb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -320,10 +320,12 @@ snapshot-libkd:
.PHONY: snapshot-libkd

test:
$(MAKE) -C blind test
$(MAKE) -C util
$(MAKE) -C libkd
$(MAKE) -C util test
$(MAKE) -C catalogs test
$(MAKE) -C libkd test
$(MAKE) -C blind test
.PHONY: test

clean:
Expand Down
2 changes: 1 addition & 1 deletion util/makefile.anbase
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Licensed under a 3-clause BSD style license - see LICENSE

ANBASE_DIR := $(BASEDIR)/util
ANBASE_LIB_FILE := $(ANBASE_DIR)/libanbase.a
ANBASE_LIB_FILE ?= $(ANBASE_DIR)/libanbase.a

ANBASE_CFLAGS :=
ANBASE_INC := -I$(INCLUDE_BASE_DIR) -I$(INCLUDE_DIR)
Expand Down
2 changes: 1 addition & 1 deletion util/makefile.anfiles
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
ANFILES_DIR := $(BASEDIR)/util
ANFILES_INC :=
ANFILES_LIB :=
ANFILES_LIB_FILE := $(ANFILES_DIR)/libanfiles.a
ANFILES_LIB_FILE ?= $(ANFILES_DIR)/libanfiles.a
ANFILES_SLIB := $(ANFILES_LIB_FILE)
ANFILES_CFLAGS :=

Expand Down

0 comments on commit d977bdb

Please sign in to comment.