I wanted to have every Env have its own
Makefile
(local, dev, production).So I created 3 directories and a
Makefile
for every Directory.- Then creates a common
MakeFile
which includes all other childMakefiles
as :
- I was able to include my child commands in Parent file but the issue is
- If I ran
make local
, it executes all commands inside Makefile.local - But instead I want each command must be ran individual
- When mentioned like
make local local_command
or evenmake local_command
,local_command
must be executed only.
- If I ran