1
mirror of https://github.com/rapid7/metasploit-payloads synced 2024-11-20 14:39:22 +01:00
metasploit-payloads/c/meterpreter/Makefile

21 lines
609 B
Makefile
Raw Normal View History

2020-05-21 01:13:10 +02:00
all: meterpreter
clean: meterpreter-x64-clean
@rm -rf workspace/build && rm -rf output/*.dll
meterpreter: meterpreter-x64
meterpreter-x64: meterpreter-x64-gen meterpreter-x64-build
meterpreter-x64-gen:
2020-05-21 07:31:21 +02:00
cmake -S workspace -B workspace/build/mingw-x64 -Wno-dev -DBUILD_SNIFFER=NO -DBUILD_ARCH=x64 -DUSE_STATIC_MSVC_RUNTIMES=ON -DCMAKE_TOOLCHAIN_FILE=x86_64-w64-mingw32.cmake -DDBGTRACE=ON
2020-05-21 01:13:10 +02:00
meterpreter-x64-build:
cmake --build workspace/build/mingw-x64 --config Release
meterpreter-x64-clean:
@rm -rf workspace/build/mingw-x64
2020-05-21 07:31:21 +02:00
install:
@cp output/*.dll ../../../metasploit-framework/data/meterpreter