Init
This commit is contained in:
38
old/Makefile
Normal file
38
old/Makefile
Normal file
@@ -0,0 +1,38 @@
|
||||
#
|
||||
# @(#)Makefile 1.1 94/10/31 SMI
|
||||
#
|
||||
DESTDIR=
|
||||
CFLAGS= -O
|
||||
LDFLAGS=
|
||||
MAKE=/usr/bin/make
|
||||
|
||||
.KEEP_STATE:
|
||||
|
||||
# Programs that live in subdirectories, and have makefiles of their own.
|
||||
#
|
||||
SUBDIR= compact eyacc make filemerge
|
||||
|
||||
# C programs that live in the current directory and do not need
|
||||
# explicit make lines.
|
||||
#
|
||||
STD= sun3cvt pti prmail syslog
|
||||
|
||||
all: ${SUBDIR} ${STD}
|
||||
|
||||
${SUBDIR}: FRC
|
||||
cd $@ && $(MAKE) $(MFLAGS)
|
||||
|
||||
${STD}: $$@.c
|
||||
${CC} ${CFLAGS} ${LDFLAGS} -o $@ $@.c
|
||||
|
||||
install:
|
||||
install -d -o bin -m 755 ${DESTDIR}/usr/old
|
||||
for i in ${SUBDIR}; \
|
||||
do (cd $$i && $(MAKE) ${MFLAGS} DESTDIR=${DESTDIR} $@); done
|
||||
install -s -o bin ${STD} ${DESTDIR}/usr/old
|
||||
|
||||
clean: FRC
|
||||
$(RM) a.out core *.s *.o $(STD)
|
||||
for i in ${SUBDIR}; do (cd $$i && $(MAKE) $(MFLAGS) $@); done
|
||||
|
||||
FRC:
|
||||
Reference in New Issue
Block a user