aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/devdraw/mkfile
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/devdraw/mkfile')
-rw-r--r--src/cmd/devdraw/mkfile11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/cmd/devdraw/mkfile b/src/cmd/devdraw/mkfile
index 96f329ac..eda896d9 100644
--- a/src/cmd/devdraw/mkfile
+++ b/src/cmd/devdraw/mkfile
@@ -7,7 +7,7 @@ WSYSOFILES=\
latin1.$O\
mouseswap.$O\
winsize.$O\
-
+
<|sh ./mkwsysrules.sh
OFILES=$WSYSOFILES
@@ -32,3 +32,12 @@ latin1.h: $PLAN9/lib/keyboard $O.mklatinkbd
./$O.mklatinkbd -r $PLAN9/lib/keyboard | sed 's/, }/ }/' >$target
CLEANFILES=latin1.h $O.mklatinkbd
+
+# Still in progress: Cocoa/Objective C version of devdraw
+
+%-objc.$O: %.m
+ $CC $CFLAGS -o $target $stem.m
+
+devdraw-cocoa: devdraw.o latin1.o mouseswap.o winsize.o osx-screen-objc.o osx-draw.o osx-srv-objc.o osx-delegate-objc.o
+ $LD -o $target $prereq
+