1 # $XConsortium: Makefile.hp /main/2 1996/05/13 11:53:35 drk $
2 ##########################################################################
4 # Makefile for dtwidget 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 ##########################################################################
26 CFLAGS = -Aa -z $(DEFINES) $(CDEBUGFLAGS)
28 DTINCLUDE = -I/usr/dt/include
29 X11INCLUDE = -I/usr/include/X11R5
31 INCLUDES = $(DTINCLUDE) $(X11INCLUDE)
33 DTLIBS = -L/usr/dt/lib -lDtSvc -ltt -lXm
34 X11LIBS = -L/usr/lib/X11R5 -lXt -lX11
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)