summaryrefslogtreecommitdiffstats
path: root/lib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Makefile')
-rw-r--r--lib/Makefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/lib/Makefile b/lib/Makefile
new file mode 100644
index 0000000..93c98d9
--- /dev/null
+++ b/lib/Makefile
@@ -0,0 +1,27 @@
+DIR=..
+
+include ${DIR}/Makefile_base
+
+mylib.o : compile mylib.c mylib.h
+ @./compile mylib.c
+
+libtest.so : load mylib.o
+ @./load d libtest.so mylib.o
+
+# HIGH LEVEL SPECIFIC TARGETS
+
+SUBDIR=
+
+arch: buildarch
+ -@./buildarch ${SUBDIR}
+
+build: libtest.so
+
+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
+