diff --git a/Makefile b/Makefile index 32495751..97506770 100644 --- a/Makefile +++ b/Makefile @@ -10,11 +10,10 @@ init: sudo apt-get install -y curl git # Check for the existence of the configuration file before using it @if test ! -f 'config_file'; then \ - echo "Error: Configuration file not found"; \ - exit 1; \ + echo "Warning: Configuration file not found. Continuing with default settings..."; \ fi # If the configuration file exists, source it - @source config_file + source config_file || true # Install project-specific dependencies using apt-get, pip, or other package managers @echo "Installing project dependencies..." sudo apt-get install -y dependency1 dependency2 diff --git a/config_file b/config_file new file mode 100644 index 00000000..b3630678 --- /dev/null +++ b/config_file @@ -0,0 +1,5 @@ +#!/bin/sh + +export DEPENDENCY1_VERSION="1.0.0" +export DEPENDENCY2_VERSION="2.0.0" +export GCC_FLAGS="-O2 -Wall"