summaryrefslogtreecommitdiffstats
path: root/kernel/code/Makefile
diff options
context:
space:
mode:
authorJames McKenzie <git@madingley.org>2014-12-15 12:05:41 +0000
committerJames McKenzie <git@madingley.org>2014-12-15 12:05:41 +0000
commit373bb32332b117236720af0ff971769fc5930ba6 (patch)
treec1a1e58218a9ce1fed33b7e5330069f856c209cc /kernel/code/Makefile
downloadvalve-373bb32332b117236720af0ff971769fc5930ba6.tar.gz
valve-373bb32332b117236720af0ff971769fc5930ba6.tar.bz2
valve-373bb32332b117236720af0ff971769fc5930ba6.zip
Diffstat (limited to 'kernel/code/Makefile')
-rw-r--r--kernel/code/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/kernel/code/Makefile b/kernel/code/Makefile
new file mode 100644
index 0000000..a478c0c
--- /dev/null
+++ b/kernel/code/Makefile
@@ -0,0 +1,15 @@
+
+PROGS=radiator program_radiator
+CSRCS=libradiator.c
+
+OBJS=${CSRCS:%.c=%.o}
+
+default:${PROGS}
+
+
+${PROGS}: %:%.o ${OBJS}
+ ${CC} -o $@ ${OBJS} $@.o
+
+
+clean:
+ /bin/rm -f core ${OBJS} ${PROGS} ${PROGS:%=%.o}