123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- # $XConsortium: Makefile.hp /main/2 1996/05/13 11:51:00 drk $
- ##########################################################################
- #
- # Makefile for dtterm 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 = term
- SOURCES = term.c
- OBJECTS = term.o
- DEFINES = -D_HPUX_SOURCE
- 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 -lDtTerm -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)
|