summaryrefslogtreecommitdiff
path: root/sys/src/cmd/pic/mkfile
diff options
context:
space:
mode:
authorTaru Karttunen <taruti@taruti.net>2011-03-30 15:46:40 +0300
committerTaru Karttunen <taruti@taruti.net>2011-03-30 15:46:40 +0300
commite5888a1ffdae813d7575f5fb02275c6bb07e5199 (patch)
treed8d51eac403f07814b9e936eed0c9a79195e2450 /sys/src/cmd/pic/mkfile
Import sources from 2011-03-30 iso image
Diffstat (limited to 'sys/src/cmd/pic/mkfile')
-rwxr-xr-xsys/src/cmd/pic/mkfile40
1 files changed, 40 insertions, 0 deletions
diff --git a/sys/src/cmd/pic/mkfile b/sys/src/cmd/pic/mkfile
new file mode 100755
index 000000000..8fc141a93
--- /dev/null
+++ b/sys/src/cmd/pic/mkfile
@@ -0,0 +1,40 @@
+< /$objtype/mkfile
+
+TARG=pic
+OFILES=picy.$O\
+ picl.$O\
+ main.$O\
+ print.$O\
+ misc.$O\
+ symtab.$O\
+ blockgen.$O\
+ boxgen.$O\
+ circgen.$O\
+ arcgen.$O\
+ linegen.$O\
+ movegen.$O\
+ textgen.$O\
+ input.$O\
+ for.$O\
+ pltroff.$O\
+
+HFILES=pic.h\
+ y.tab.h\
+
+YFILES=picy.y\
+
+BIN=/$objtype/bin
+</sys/src/cmd/mkone
+CC=pcc
+LD=pcc
+CFLAGS=-c
+YFLAGS=-S -d
+
+picy.c: y.tab.c
+ mv $prereq $target
+
+picl.c: picl.lx
+ $LEX -t $prereq > $target
+
+clean:V:
+ rm -f *.[$OS] [$OS].out y.tab.? y.debug $TARG picy.c picl.c