diff options
author | Jérémy Zurcher <jeremy.zurcher@heraeus.com> | 2014-01-03 16:43:15 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy.zurcher@heraeus.com> | 2014-01-03 16:43:15 +0100 |
commit | eb9c210d7412455363153ea2bdc5aca5aaa30384 (patch) | |
tree | b079a409893dbd1c663d51337d903a63864dde3a /Makefile | |
download | config-parser-eb9c210d7412455363153ea2bdc5aca5aaa30384.zip config-parser-eb9c210d7412455363153ea2bdc5aca5aaa30384.tar.gz |
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..fbf2be2 --- /dev/null +++ b/Makefile @@ -0,0 +1,33 @@ +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)" + |