1 # $XConsortium: Makefile.novell /main/2 1996/05/13 11:42:53 drk $
2 ##########################################################################
4 # Makefile for dtdts examples (Novell)
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 = -Xc $(DEFINES) $(CDEBUGFLAGS)
24 DTINCLUDE = -I/usr/dt/include
25 X11INCLUDE = -I/usr/X/include
27 INCLUDES = $(DTINCLUDE) $(X11INCLUDE)
29 DTLIBS = -L/usr/dt/lib -lDtSvc -lXm
30 X11LIBS = -L/usr/X/lib -lXt -lX11
31 SYSLIBS = -lw -lgen -lnsl -lresolv -lsocket -lXIM
33 LIBRARIES = $(DTLIBS) $(X11LIBS) $(SYSLIBS)
37 $(CC) -c $(CFLAGS) $(INCLUDES) $<
41 $(PROGRAM):: $(OBJECTS)
42 $(CC) -o $(PROGRAM) $(LDFLAGS) $(OBJECTS) $(LIBRARIES)
45 $(RM) $(PROGRAM) $(OBJECTS)