Annotation of researchv8dc/cmd/pic/makefile, revision 1.1.1.1

1.1       root        1: CFLAGS = -g      # you might prefer -O
                      2: YFLAGS = -d
                      3: 
                      4: OFILES = picy.o picl.o main.o print.o misc.o symtab.o blockgen.o boxgen.o \
                      5:         circgen.o arcgen.o linegen.o movegen.o textgen.o \
                      6:         input.o for.o pltroff.o $(ALLOC)
                      7: CFILES = main.c print.c misc.c symtab.c blockgen.c boxgen.c circgen.c \
                      8:         arcgen.c linegen.c movegen.c textgen.c \
                      9:         input.c for.c pltroff.c
                     10: SRCFILES = picy.y picl.l pic.h $(CFILES)
                     11: 
                     12: pic:   $(OFILES)
                     13:        $(CC) -o pic $(CFLAGS) $(OFILES) -lm
                     14: 
                     15: $(OFILES):     pic.h pic.ydef
                     16: 
                     17: y.tab.h:       picy.o
                     18: 
                     19: pic.ydef:      y.tab.h
                     20:        -cmp -s y.tab.h pic.ydef || cp y.tab.h pic.ydef
                     21: 
                     22: prcan: WISH README UNDOC picy.y picl.l pic.h  $(CFILES) PS-PEmacros
                     23:        @prcan $?
                     24:        @touch prcan
                     25: 
                     26: bundle:
                     27:        @bundle picy.y picl.l pic.h $(CFILES) makefile UNDOC README PS-PEmacros
                     28: 
                     29: backup:        picy.y picl.l pic.h $(CFILES) makefile pictest.a PS-PEmacros UNDOC
                     30:        push snb $? pic
                     31:        touch backup
                     32: 
                     33: bowell:        picy.y picl.l pic.h $(CFILES) makefile pictest.a PS-PEmacros UNDOC
                     34:        push bowell $? /src/cmd/pic
                     35:        touch bowell
                     36: 
                     37: memo:
                     38:        refer -e picmemo | pic | eqn | troff -ms $(TFLAGS) >pic.out 2>pic.mess
                     39: 
                     40: clean:
                     41:        rm -f *.o pic y.tab.h a.out pic.ydef
                     42: 
                     43: install:
                     44:        strip pic
                     45:        cp pic /usr/bin

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.