Annotation of 43BSD/contrib/X/inline/Makefile, revision 1.1.1.1

1.1       root        1: #      @(#)Makefile    1.3     (Berkeley)      84/08/20
                      2: #
                      3: DESTDIR=
                      4: CFLAGS=        -O
                      5: LFLAGS=        
                      6: 
                      7: # The program itself
                      8: #
                      9: PROG=  inline
                     10: 
                     11: # Sources
                     12: #
                     13: SRCS=  main.c machdep.c machpats.c libcpats.c langpats.c
                     14: 
                     15: # Objects
                     16: #
                     17: OBJS=  main.o machdep.o machpats.o libcpats.o langpats.o
                     18: 
                     19: # Header files
                     20: #
                     21: HDRS=  inline.h
                     22: 
                     23: all: ${PROG}
                     24: 
                     25: ${PROG}: ${OBJS} ${HDRS}
                     26:        cc ${LFLAGS} -o ${PROG} ${OBJS}
                     27: 
                     28: ${OBJS}:
                     29:        cc ${CFLAGS} -c $*.c
                     30: 
                     31: install: ${PROG}
                     32: 
                     33: clean:
                     34:        rm -f a.out core ${OBJS} ${PROG} *.bak *.BAK *~ #*
                     35: 
                     36: print:
                     37:        @pr ${HDRS} ${SRCS}
                     38: 
                     39: lint:
                     40:        lint ${SRCS}
                     41: 
                     42: depend:
                     43:        cc -M ${SRCS} | \
                     44:        awk ' { if ($$1 != prev) { print rec; rec = $$0; prev = $$1; } \
                     45:                else { if (length(rec $$2) > 78) { print rec; rec = $$0; } \
                     46:                       else rec = rec " " $$2 } } \
                     47:              END { print rec } ' > makedep
                     48:        echo '/^# DO NOT DELETE THIS LINE/+2,$$d' >eddep
                     49:        echo '$$r makedep' >>eddep
                     50:        echo 'w' >>eddep
                     51:        cp Makefile Makefile.bak
                     52:        ed - Makefile < eddep
                     53:        rm eddep makedep
                     54:        echo '# DEPENDENCIES MUST END AT END OF FILE' >> Makefile
                     55:        echo '# IF YOU PUT STUFF HERE IT WILL GO AWAY' >> Makefile
                     56:        echo '# see make depend above' >> Makefile
                     57: 
                     58: # DO NOT DELETE THIS LINE -- make depend uses it
                     59: 
                     60: 
                     61: main.o: main.c /usr/include/stdio.h /usr/include/ctype.h ./inline.h
                     62: machdep.o: machdep.c /usr/include/stdio.h /usr/include/ctype.h
                     63: machpats.o: machpats.c ./inline.h
                     64: libcpats.o: libcpats.c ./inline.h
                     65: langpats.o: langpats.c ./inline.h
                     66: # DEPENDENCIES MUST END AT END OF FILE
                     67: # IF YOU PUT STUFF HERE IT WILL GO AWAY
                     68: # see make depend above

unix.superglobalmegacorp.com

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