diff options
author | rsc <devnull@localhost> | 2004-05-15 23:24:00 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2004-05-15 23:24:00 +0000 |
commit | 5cedca1b69d020c32466f70843a11767773d7e3b (patch) | |
tree | a15a3d84e92aa262543b0010763a5e6920c9ba24 /src/cmd/pic/makefile | |
parent | 76e6aca867e3e48ea04fbcf7284c45369a69829e (diff) | |
download | plan9port-5cedca1b69d020c32466f70843a11767773d7e3b.tar.gz plan9port-5cedca1b69d020c32466f70843a11767773d7e3b.tar.bz2 plan9port-5cedca1b69d020c32466f70843a11767773d7e3b.zip |
Let's try this. It's BUGGERED.
Diffstat (limited to 'src/cmd/pic/makefile')
-rw-r--r-- | src/cmd/pic/makefile | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/src/cmd/pic/makefile b/src/cmd/pic/makefile new file mode 100644 index 00000000..92d733a0 --- /dev/null +++ b/src/cmd/pic/makefile @@ -0,0 +1,39 @@ +CC = cc # the usual situation +CFLAGS = # the usual situation + +CC = lcc # you will probably want to remove this +CFLAGS = -g -N -I/usr/include/lcc -I/usr/include # and this + +YFLAGS = -d + +OFILES = 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 $(ALLOC) +CFILES = main.c print.c misc.c symtab.c blockgen.c boxgen.c circgen.c \ + arcgen.c linegen.c movegen.c textgen.c \ + input.c for.c pltroff.c +SRCFILES = picy.y picl.l pic.h $(CFILES) makefile FIXES README PS-PEmacros + +pic: picy.o $(OFILES) pic.h + $(CC) $(CFLAGS) picy.o $(OFILES) -lm + +$(OFILES): pic.h prevy.tab.h + +picy.o: pic.h + +prevy.tab.h: y.tab.h + -cmp -s y.tab.h prevy.tab.h || cp y.tab.h prevy.tab.h + +bundle: + @bundle $(SRCFILES) + +bowell: $(SRCFILES) pictest.a + push bowell $? /usr/src/cmd/pic + touch bowell + +clean: + rm *.o a.out *y.tab.h + +install: + cp a.out /usr/bin/pic + strip /usr/bin/pic |