1 # $XConsortium: Makefile.hp /main/2 1996/05/13 11:51:00 drk $
2 ##########################################################################
4 # Makefile for dtterm examples (HP)
6 # (c) Copyright 1993, 1994 Hewlett-Packard Company
7 # (c) Copyright 1993, 1994 International Business Machines Corp.
8 # (c) Copyright 1993, 1994 Sun Microsystems, Inc.
9 # (c) Copyright 1993, 1994 Novell, Inc.
11 ##########################################################################
20 DEFINES = -D_HPUX_SOURCE
22 CFLAGS = -Aa -z $(DEFINES) $(CDEBUGFLAGS)
24 DTINCLUDE = -I/usr/dt/include
25 X11INCLUDE = -I/usr/include/X11R5
27 INCLUDES = $(DTINCLUDE) $(X11INCLUDE)
29 DTLIBS = -L/usr/dt/lib -lDtTerm -lXm
30 X11LIBS = -L/usr/lib/X11R5 -lXt -lX11
33 LIBRARIES = $(DTLIBS) $(X11LIBS) $(SYSLIBS)
37 ${CC} -c $(CFLAGS) $(INCLUDES) $<
41 $(PROGRAM):: $(OBJECTS)
42 ${CC} -o $(PROGRAM) $(LDFLAGS) $(OBJECTS) $(LIBRARIES)
45 ${RM} $(PROGRAM) $(OBJECTS)