123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- # $XConsortium: Makefile.ibm /main/3 1996/05/13 11:51:14 drk $
- ##########################################################################
- #
- # Makefile for dtterm examples (IBM)
- #
- # (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 =
- CDEBUGFLAGS = -O
- CFLAGS = $(DEFINES) $(CDEBUGFLAGS)
- DTINCLUDE = -I/usr/dt/include
- X11INCLUDE = -I/usr/include
- INCLUDES = $(DTINCLUDE) $(X11INCLUDE)
- DTLIBS = -L/usr/dt/lib -lDtSvc -lDtTerm -lXm
- X11LIBS = -L/usr/lib -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)
|