User forums > Using Code::Blocks
make: *** No rule to make target `Debug'. Stop.
fh.bui:
Thank you guys for your help. I will try the posted solution and state the result.
Eli_A:
Hi,
I have the same problem.
I included the pcapplusplus.mk at my makefile:
include C:\Eli\Projects\dRDI\dRD_parser\mk\PcapPlusPlus.mk
Set the address at the PcapPlusPlus.mk as below:
PCAPPLUSPLUS_HOME := C:\pcapplusplus\pcapplusplus
MINGW_HOME := C:/MinGW/bin
PCAP_SDK_HOME := C:/WpdPack/include
Also, check the Custom make file and the make commands are as below:
$make -f $makefile $target
$make -f $makefile $file
$make -f $makefile clean$target
$make -q -f $makefile $target
But I get the below error:
mingw32-make.exe: *** No rule to make target 'Debug'. Stop.
Can someone pls help me to solve this problem?
BlueHazzard:
What are the rules of your makefile?
Eli_A:
include ../mk/PcapPlusPlus.mk
# All Target
all:
g++.exe $(PCAPPP_INCLUDES) -c -o main.o main.cpp
g++.exe $(PCAPPP_LIBS_DIR) -static-libgcc -static-libstdc++ -o dRDI.exe main.o $(PCAPPP_LIBS)
# Clean Target
clean:
del main.o
del dRDI.exe
AndrewCot:
I would suggest finding a site that has tutorials on makefiles so you can get up to speed with makefiles.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version