Skip to content

Ghidra is a software reverse engineering (SRE) framework

Build libsla from the Makefile

Guillaume Valadond2012f71aba8
diff --git a/Ghidra/Features/Decompiler/src/decompile/cpp/sleighexample.cc b/Ghidra/Features/Decompiler/src/decompile/cpp/sleighexample.cc
index 0a64034acb..3a61418e63 100644
--- a/Ghidra/Features/Decompiler/src/decompile/cpp/sleighexample.cc
+++ b/Ghidra/Features/Decompiler/src/decompile/cpp/sleighexample.cc
@@ -346,10 +346,13 @@ int main(int argc,char **argv)
--
--LNK=src/libsla.a
--
+--libsla.a:
+-- $(MAKE) -C src/ $@
+--
--sleighexample.o: sleighexample.cc
-- $(CXX) -c $(DBG_CXXFLAGS) $(INCLUDES) $< -o $@
--
---sleighexample: sleighexample.o
+--sleighexample: sleighexample.o libsla.a
-- $(CXX) $(DBG_CXXFLAGS) -o sleighexample sleighexample.o $(LNK)
--
--clean: