gno/usr.bin/whereis/makefile.mk

40 lines
845 B
Makefile
Raw Normal View History

1996-01-27 22:40:15 +00:00
# Makefile.mk generated by makedmake (Gno) v1.1.1 for Dennis Vadura's dmake
1996-01-27 22:38:42 +00:00
1996-01-27 22:40:15 +00:00
BINDIR = 17
MANDIR = /usr/man
1996-01-27 22:38:42 +00:00
1996-01-27 22:40:15 +00:00
# development flags
# DEFINES += -DDEBUG -DCASEFLAG
# CFLAGS += -w -s1023 -G25 $(DEFINES)
# LDFLAGS +=
# LDLIBS = /usr/lib/stack.a
1996-01-27 22:38:42 +00:00
1996-01-27 22:40:15 +00:00
# distribution flags
DEFINES += -DCASEFLAG
CFLAGS += -w -s1023 -O $(DEFINES)
LDFLAGS +=
LDLIBS =
all:
echo Targets ...
echo
echo dmake install ... to copy executable file to $(BINDIR) and manual
echo page to $(MANDIR)
echo
echo dmake whereis ... to compile source code. This should not be
echo necessary.
1996-01-27 22:38:42 +00:00
whereis : whereis.o
$(CC) $(LDFLAGS) -o whereis whereis.o $(LDLIBS)
whereis.o : whereis.c
$(CC) $(CFLAGS) -c whereis.c
install :
1996-01-27 22:40:15 +00:00
-$(RM) /usr/bin/whereis
-$(RM) 17/whereis
/bin/cp -f whereis $(BINDIR)
/bin/cp -f whereis.1 $(MANDIR)/man1
.SILENT: all