LIST=Admin Shared ShadowArch compile: ${LIST} for i in ${LIST}; do make -C ./$$i; done install: compile for i in ${LIST}; do make -C ./$$i install; done reverse: @echo Please do this for each individual folder in ${LIST} test: ${LIST} @echo Please do this for each individual folder in ${LIST} checkperm: @echo Please do this for each individual folder in ${LIST} clean: @echo Nothing to do. diff: @echo Please do this for each individual folder in ${LIST}