home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-385-Vol-1of3.iso
/
m
/
master12.zip
/
mastering
/
Makefile
< prev
next >
Wrap
Makefile
|
1992-09-11
|
2KB
|
126 lines
##############################################################################
#
# Makefile for the example programs.
#
##############################################################################
# N O T E :
#
# This Makefile is for HP 9000 Series 300 workstations running HP-UX 7.0
# or later. You will likely have to modify some of the parameters in
# this file to compile this program on another platform. All of the
# programs contained here were created using Motif 1.1
#
##############################################################################
# This variable contains the flags passed to cc.
CFLAGS = -Wc,-Nd4000 -Wc,-Ns4000 -Wc,-Nt50000 -DSYSV -D_NO_PROTO
# This variable points to the directory containing the X and Motif libraries.
LIBDIR = /usr
# This variable lists the subdirectories to search for include files.
INCLUDES = -I$(LIBDIR)/include/Motif1.2\
-I$(LIBDIR)/include/X11R5
# This variable lists the required libraries.
LIBS = $(LIBDIR)/lib/Motif1.2/libXm.a\
$(LIBDIR)/lib/X11R5/libXt.a\
$(LIBDIR)/lib/X11R5/libX11.a\
-lPW\
-lm
.c:
cc $(CFLAGS) $(INCLUDES) -o $@ $< $(LIBS)
.c.o:
cc $(INCLUDES) -c $(CFLAGS) $<
all: arrowbtns \
bbdemo \
buttondnd\
command \
compstr \
csbutton \
customtile \
defaultscolors \
diskuse \
drawacts \
drawnbtns \
filetimes \
filselbox\
fonts \
formbtn \
formdemo \
framedemo\
frametest \
getdlog \
lab00 \
lab00a \
listdemo \
multiline \
panedw \
pathtest \
pushbtns \
rcdemo \
scalecolors \
scaledemo \
scrolledtext \
septest \
setcolors \
sheldraw \
swindemo \
textdemo \
textfield \
tiling \
toggles \
xmbutton \
xmeditor \
xmfonts
clean:
rm -f\
arrowbtns \
bbdemo \
command \
compstr \
csbutton \
customtile \
defaultscolors \
diskuse \
drawacts \
drawnbtns \
filetimes \
fonts \
formbtn \
formdemo \
frametest \
getdlog \
lab00 \
lab00a \
listdemo \
multiline \
panedw \
pathtest \
pushbtns \
rcdemo \
scalecolors \
scaledemo \
scrolledtext \
septest \
setcolors \
sheldraw \
swindemo \
textdemo \
textfield \
tiling \
toggles \
xmbutton \
xmeditor \
xmfonts