summaryrefslogtreecommitdiffstats
path: root/kernel/code/Makefile
diff options
context:
space:
mode:
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}