home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 January
/
usenetsourcesnewsgroupsinfomagicjanuary1994.iso
/
sources
/
x
/
volume4
/
xtacho
/
part01
/
Makefile
next >
Wrap
Makefile
|
1989-07-19
|
2KB
|
59 lines
# SCCS ID @(#)Makefile 1.7 7/14/89
#
# Makefile - Makefile for xtacho
#
# Author: Kazuhiko Shutoh, 1989.
#
# Permission to use, copy, modify and distribute without charge this
# software, documentation, images, etc. is granted, provided that this
# comment and the author's name is retained. The author assumes no
# responsibility for lost sleep as a consequence of use of this software.
#
# Send any comments, bug reports, etc. to: shutoh@isl.yamaha.JUNET or,
# for oversea: shutoh%isl.yamaha.JUNET%kddlab@uunet.uu.net
#
#
CC = /bin/cc
CFLAGS = -f68881 -O
DESTDIR = /usr/bin/X11
MANDIR = /usr/man/mann
#
# Libraries for X11R2
#
#LIBS = -lXaw -lXt -lX11 -lm -lrpcsvc
#
# Libraries for X11R3
#
LIBS = -lXaw -lXmu -lXt -lX11 -lm -lrpcsvc
##############################################################################
PROGRAMS = ./xtacho
SRCS = ./xtacho.c
OBJS = ./xtacho.o
LOCALHDRS = ./xtacho.h ./xtacho.icon
EXTERNHDRS = /usr/include/stdio.h \
/usr/include/math.h \
/usr/include/rpcsvc/rstat.h \
/usr/include/X11/Intrinsic.h \
/usr/include/X11/StringDefs.h \
/usr/include/X11/Shell.h \
/usr/include/X11/Box.h \
/usr/include/X11/Label.h \
/usr/include/X11/Command.h \
/usr/include/X11/Form.h
MANS = ./xtacho.n
$(PROGRAMS): $(OBJS)
$(CC) $(CCFLAGS) $(OBJS) $(LIBS) -o $(PROGRAMS)
install: $(PROGRAMS)
install -s $(PROGRAMS) $(DESTDIR)
install-man:
install -c $(MANS) $(MANDIR)
clean:
rm -f $(OBJS) $(PROGRAMS)