mirror of
https://github.com/zardus/ctf-tools
synced 2024-12-13 14:32:34 +00:00
17 lines
512 B
Diff
17 lines
512 B
Diff
diff --git a/tool/Makefile b/tool/Makefile
|
|
index 39983c2..60c8dfc 100644
|
|
--- a/tool/Makefile
|
|
+++ b/tool/Makefile
|
|
@@ -4,10 +4,10 @@ LDLIBS += -lgmp -lntl
|
|
all : recover forge
|
|
|
|
recover : recover.o gcm.o
|
|
- $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $(LDLIBS) $^
|
|
+ $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $(LDLIBS) $^ $(LDLIBS)
|
|
|
|
forge : forge.o gcm.o
|
|
- $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $(LDLIBS) $^
|
|
+ $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $(LDLIBS) $^ $(LDLIBS)
|
|
|
|
%.o : %.cpp
|
|
$(CXX) $(CXXFLAGS) $(CPPFLAGS) -c -o $@ $^
|