Annotation of researchv10no/cmd/PDP11/11as/Makefile, revision 1.1.1.1

1.1       root        1: #
                      2: #      makefile for J F Reiser's PDP11 Assembler written in C
                      3: #      {so it can be used on the VAX}
                      4: #
                      5: #      BINDIR and LIBDIR must be defined.
                      6: #
                      7: BINDIR = /usr/bin
                      8: LIBDIR = /usr/lib
                      9: 
                     10: AS1 = 11as
                     11: AS2 = 11as2
                     12: A_DOT_OUT = a.out
                     13: 
                     14: CC = cc
                     15: CFLAGS = -O "-DPASS2PGM=\"${LIBDIR}/${AS2}\"" "-DA_DOT_OUT=\"${A_DOT_OUT}\""
                     16: 
                     17: AS1O = as11.o as12.o as13.o as14.o as15.o as16.o as17.o as18.o as19.o
                     18: AS2O = as21.o as22.o as23.o as24.o as25.o as26.o as27.o as28.o as29.o
                     19: 
                     20: all: ${AS1} ${AS2}
                     21: 
                     22: ${AS1}: ${AS1O}
                     23:        ${CC} ${CFLAGS} -o ${AS1} ${AS1O}
                     24: 
                     25: ${AS1O}: as1.h
                     26: 
                     27: ${AS2}: ${AS2O}
                     28:        ${CC} ${CFLAGS} -o ${AS2} ${AS2O}
                     29: 
                     30: ${AS2O}: as2.h
                     31: 
                     32: ${BINDIR}/${AS1}: ${AS1}
                     33:        strip ${AS1}
                     34:        cp ${AS1} ${BINDIR}
                     35: 
                     36: inst${AS1}: ${BINDIR}/${AS1}
                     37: 
                     38: ${LIBDIR}/${AS2}: ${AS2}
                     39:        strip ${AS2}
                     40:        cp ${AS2} ${LIBDIR}
                     41: 
                     42: inst${AS2}: ${LIBDIR}/${AS2}
                     43: 
                     44: install: inst${AS1} inst${AS2}
                     45:        @echo The assembler is installed
                     46: 
                     47: 
                     48: clean:
                     49:        rm -f ${AS1} ${AS2}
                     50:        rm -f *.o make.out
                     51: 
                     52: print:
                     53:        @pr -r README makefile *.h *.c

unix.superglobalmegacorp.com

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