aboutsummaryrefslogtreecommitdiff
path: root/envelope/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'envelope/Makefile')
-rw-r--r--envelope/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/envelope/Makefile b/envelope/Makefile
index 19e92ed..64cbe4f 100644
--- a/envelope/Makefile
+++ b/envelope/Makefile
@@ -13,12 +13,9 @@ endif
BIN = envelope
-.PHONY: all clean remake makelib
+.PHONY: all clean remake
-makelib:
- make -C ..
-
-all: makelib $(BIN)
+all: $(BIN)
clean:
rm -rf $(BIN) *.o *.dSYM
@@ -26,6 +23,9 @@ clean:
remake: clean all
+../cryptolib.a:
+ make -C .. cryptolib.a
+
$(BIN): $(patsubst %.cpp,%.o,$(wildcard *.cpp)) ../cryptolib.a
$(CXX) -o $@ $^ $(LDFLAGS)