DIR=. include ${DIR}/Makefile_base main: load main.o config_parser.o @./load c main config_parser.o config_parser.o: compile config_parser.c config_parser.h @./compile config_parser.c main.o: compile main.c main.h @./compile main.c # HIGH LEVEL SPECIFIC TARGETS SUBDIR= arch: buildarch -@./buildarch ${SUBDIR} build: main @for I in ${SUBDIR}; do ( echo "$(CYAN)building $I$(NORM)" && cd $I && make && echo "$(CYAN)done.$(NORM)"); done; doc: doxy_conf @echo -e "$(CYAN)calling doxygen$(NORM)" @doxygen doxy_conf @echo -e "$(CYAN)done.$(NORM)" clean: cleanstd @if [ -f main ] ; then rm main; fi @echo -e "$(CYAN)done.$(NORM)"