#!/usr/bin/env bash # bin/detect if [[ -f $1/Makefile || -f $1/configure ]]; then echo "C" && exit 0 else echo "no" && exit 1 fi