#!/bin/sh # /***************************************************************/ # /* */ # /* alzam clean mode */ # /* */ # /***************************************************************/ # # // allow alzam to use this mode ALZAM_MODES="$ALZAM_MODES cleanall" # // mode implentation function cleanall () { RELEASE=no # // clean all objects OTARGET="$TARGET" OTARGET_PATH="$TARGET_PATH" TARGET_SCOL="$TARGET_SCOL_PATH/$TARGET" TARGET_PATH="$OTARGET_PATH/debug" TARGET="$TARGET_PATH/$OTARGET" export SRC_PATH TARGET_PATH TARGET cd $SRC_PATH make clean TARGET_PATH="$OTARGET_PATH/release" TARGET="$TARGET_PATH/$OTARGET" export SRC_PATH TARGET_PATH TARGET cd $SRC_PATH make clean rm -f $TARGET_SCOL exit }