Previous Next
MAKE_TARGET macro

The script sniffMakeTarget.sh has been removed from the $ SNiFF_DIR/bin directory. This script checked for a link to the SOWE and removed it. This is now done by the MAKE_TARGET macro.
You have only to add the following line before your compiler call within the make rule:
TARGET=$@; TARGET_TYPE="C++ object"; $(MAKE_TARGET);\

TARGET is the current target to be built (usual this is $@)
TARGET_TYPE is the string that is echoed when the target is built
MAKE_TARGET removes the target or its symbolic link before it is built

Previous Next