summaryrefslogtreecommitdiffstats
path: root/lib/Makefile
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy.zurcher@heraeus.com>2014-01-06 15:39:05 +0100
committerJérémy Zurcher <jeremy.zurcher@heraeus.com>2014-01-06 15:39:05 +0100
commit09397c778731916891d660ac4ebbb6f3ac5a15fb (patch)
tree9ec6b32f0a32f2744d173ca0fe91bc5ea2f2cb50 /lib/Makefile
downloaddjb-way-09397c778731916891d660ac4ebbb6f3ac5a15fb.zip
djb-way-09397c778731916891d660ac4ebbb6f3ac5a15fb.tar.gz
Initial commit
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
+