Improved error handling.
This commit is contained in:
5
Makefile
5
Makefile
@@ -13,6 +13,9 @@ OBJECTS := $(MODULES:$(SRC_DIR)/%.cpp=$(OBJ_DIR)/%.o)
|
||||
U2FDevice: $(OBJECTS) libuECC.o libcppb64.o
|
||||
g++ $(LDFLAGS) -o $@ $^
|
||||
|
||||
install: U2FDevice
|
||||
install -m775 -t /usr/bin U2FDevice
|
||||
|
||||
$(OBJ_DIR)/%.o: $(SRC_DIR)/%.cpp
|
||||
g++ $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $<
|
||||
|
||||
@@ -22,7 +25,7 @@ clean:
|
||||
rm $(OBJ_DIR)/*
|
||||
rm U2FDevice
|
||||
|
||||
.PHONY: libuECC.o libcppb64.so clean
|
||||
.PHONY: libuECC.o libcppb64.so clean install
|
||||
libuECC.o:
|
||||
$(MAKE) -C micro-ecc
|
||||
cp micro-ecc/libuECC.o libuECC.o
|
||||
|
||||
Reference in New Issue
Block a user