1 # $XConsortium: Makefile.novell /main/2 1996/05/13 11:54:13 drk $
2 ##########################################################################
4 # Makefile for dtwidget 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 ##########################################################################
26 CFLAGS = -Xc $(DEFINES) $(CDEBUGFLAGS)
28 DTINCLUDE = -I/usr/dt/include
29 X11INCLUDE = -I/usr/X/include
31 INCLUDES = $(DTINCLUDE) $(X11INCLUDE)
33 DTLIBS = -L/usr/dt/lib -lDtSvc -lXm
34 X11LIBS = -L/usr/X/lib -lXt -lX11
35 SYSLIBS = -lw -lgen -lnsl -lresolv -lsocket -lXIM
37 LIBRARIES = $(DTLIBS) $(X11LIBS) $(SYSLIBS)
41 $(CC) -c $(CFLAGS) $(INCLUDES) $<
43 all:: $(PROGRAM1) $(PROGRAM2)
45 $(PROGRAM1):: $(OBJECTS1)
46 $(CC) -o $(PROGRAM1) $(LDFLAGS) $(OBJECTS1) $(LIBRARIES)
48 $(PROGRAM2):: $(OBJECTS2)
49 $(CC) -o $(PROGRAM2) $(LDFLAGS) $(OBJECTS2) $(LIBRARIES)
52 $(RM) $(PROGRAM1) $(OBJECTS1)
53 $(RM) $(PROGRAM2) $(OBJECTS2)