123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- # $XConsortium: Makefile.hp /main/2 1996/05/13 11:49:37 drk $
- ##########################################################################
- #
- # Makefile for dtsession examples (HP)
- #
- # (c) Copyright 1993, 1994 Hewlett-Packard Company
- # (c) Copyright 1993, 1994 International Business Machines Corp.
- # (c) Copyright 1993, 1994 Sun Microsystems, Inc.
- # (c) Copyright 1993, 1994 Novell, Inc.
- #
- ##########################################################################
- CC = cc
- RM = rm -f
- PROGRAM = session
- SOURCES = session.c
- OBJECTS = session.o
- DEFINES =
- CDEBUGFLAGS = -O
- CFLAGS = -Aa -z $(DEFINES) $(CDEBUGFLAGS)
- DTINCLUDE = -I/usr/dt/include
- X11INCLUDE = -I/usr/include/X11R5
- INCLUDES = $(DTINCLUDE) $(X11INCLUDE)
- DTLIBS = -L/usr/dt/lib -lDtSvc -lXm
- X11LIBS = -L/usr/lib/X11R5 -lXt -lX11
- SYSLIBS =
- LIBRARIES = $(DTLIBS) $(X11LIBS) $(SYSLIBS)
- LDFLAGS =
- .c.o:
- ${CC} -c $(CFLAGS) $(INCLUDES) $<
- all:: $(PROGRAM)
- $(PROGRAM):: $(OBJECTS)
- ${CC} -o $(PROGRAM) $(LDFLAGS) $(OBJECTS) $(LIBRARIES)
- clean::
- ${RM} $(PROGRAM) $(OBJECTS)
|