Annotation of 42BSD/games/fortune/Makefile, revision 1.1.1.1

1.1       root        1: #      @(#)Makefile    4.2     (Berkeley)      83/08/14
                      2: #
                      3: DESTDIR=
                      4: FORTUNES=      scene obscene
                      5: SOURCE=                fortune.c strfile.h strfile.c unstr.c ${FORTUNES}
                      6: LIBDIR=                ${DESTDIR}/usr/games/lib
                      7: BINDIR=                ${DESTDIR}/usr/games
                      8: OWN=           daemon
                      9: CFLAGS=                -O
                     10: 
                     11: .DEFAULT:
                     12:        sccs get $@
                     13: 
                     14: all: fortune strfile unstr fortunes.dat
                     15: 
                     16: fortune: strfile.h fortune.c
                     17:        ${CC} ${CFLAGS} -DFORTFILE='"${LIBDIR}/fortunes.dat"' -o fortune fortune.c
                     18: 
                     19: strfile: strfile.h strfile.c
                     20:        ${CC} ${CFLAGS} -o strfile strfile.c
                     21: 
                     22: unstr: strfile.h unstr.c
                     23:        ${CC} ${CFLAGS} -o unstr unstr.c
                     24: 
                     25: fortunes.dat: fortunes strfile
                     26:        ./strfile fortunes
                     27: 
                     28: fortunes: $(FORTUNES)
                     29:        cat scene > fortunes
                     30:        echo "%-" >> fortunes
                     31:        cat obscene >> fortunes
                     32:        echo "%%" >> fortunes
                     33: 
                     34: install: all
                     35:        install -m 600 -o ${OWN} fortunes.dat ${LIBDIR}/
                     36:        install -m 4711 -o ${OWN} fortune ${BINDIR}/
                     37: 
                     38: clean:
                     39:        rm -f fortune fortunes fortunes.dat fortunes.tar strfile unstr

unix.superglobalmegacorp.com

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