summaryrefslogtreecommitdiffstats
path: root/makefile-djb/Makefile
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-04-23 10:00:14 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2012-04-23 10:00:14 +0200
commitddfc7cad49c8704240a0d36d2ff1f400beff1699 (patch)
treeee06220f037fb42c2de1f5a0b9d34808b37e0024 /makefile-djb/Makefile
parent48db83e5666b1bfd0c752f98f991dc83cb29dfb8 (diff)
downloadskeletons-ddfc7cad49c8704240a0d36d2ff1f400beff1699.zip
skeletons-ddfc7cad49c8704240a0d36d2ff1f400beff1699.tar.gz
add makefile-djb
Diffstat (limited to 'makefile-djb/Makefile')
-rw-r--r--makefile-djb/Makefile26
1 files changed, 26 insertions, 0 deletions
diff --git a/makefile-djb/Makefile b/makefile-djb/Makefile
new file mode 100644
index 0000000..12bf960
--- /dev/null
+++ b/makefile-djb/Makefile
@@ -0,0 +1,26 @@
+DIR=.
+
+include Makefile_base
+
+clib.o: compile clib.h clib.c
+ @./compile clib.c
+
+libclib.a: load clib.o
+ @./load s libclib.a clib.o
+
+main.o: compile clib.h main.c
+ @./compile main.c
+
+main: load libclib.a main.o
+ @./load c main libclib.a
+
+# HIGH LEVEL SPECIFIC TARGETS
+
+clean : cleanstd
+ @rm -f main *.o *.so* *~
+
+arch: buildarch
+ -@./buildarch test
+
+build: main
+