Commit e5414954 authored by Dave Hylands's avatar Dave Hylands

Now produces an error if you run make without sourcing setup.sh

parent f62d87e1
ifneq ("$(SETUP_SH_SOURCED)","y")
$(error Must source setup.sh to use make directly)
else
include Makefile
endif
#!/bin/bash
export SETUP_SH_SOURCED=y
. .config
if [ $? -ne 0 ]; then
echo Could not load .config. Did you run config.sh?
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment