summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile33
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)"
+