1 # $XConsortium: Makefile.ibm /main/3 1996/05/13 11:51:14 drk $
2 ##########################################################################
4 # Makefile for dtterm examples (IBM)
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 ##########################################################################
22 CFLAGS = $(DEFINES) $(CDEBUGFLAGS)
24 DTINCLUDE = -I/usr/dt/include
25 X11INCLUDE = -I/usr/include
27 INCLUDES = $(DTINCLUDE) $(X11INCLUDE)
29 DTLIBS = -L/usr/dt/lib -lDtSvc -lDtTerm -lXm
30 X11LIBS = -L/usr/lib -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)