Makefile.ibm 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. # $XConsortium: Makefile.ibm /main/2 1996/05/13 11:45:35 drk $
  2. ##########################################################################
  3. #
  4. # Makefile for dtdnddemo
  5. #
  6. # IBM Platform
  7. #
  8. # (c) Copyright 1993, 1994 Hewlett-Packard Company
  9. # (c) Copyright 1993, 1994 International Business Machines Corp.
  10. # (c) Copyright 1993, 1994 Sun Microsystems, Inc.
  11. # (c) Copyright 1993, 1994 Unix System Labs, Inc., a subsidiary of
  12. # Novell, Inc.
  13. ##########################################################################
  14. PROGRAM = dtdnddemo
  15. SOURCES = demo.c icon.c text.c file.c buff.c
  16. OBJECTS = demo.o icon.o text.o file.o buff.o
  17. APPDEFAULTS = Dtdnddemo
  18. DEFINES =
  19. CDEBUGFLAGS = -O
  20. CFLAGS = $(DEFINES) $(CDEBUGFLAGS)
  21. DTINCLUDE = -I/usr/dt/include
  22. X11INCLUDE = -I/usr/include
  23. INCLUDES = $(DTINCLUDE) $(X11INCLUDE)
  24. DTLIBS = -L/usr/dt/lib -lDtSvc -ltt -lXm
  25. X11LIBS = -L/usr/lib -lXt -lX11
  26. SYSLIBS =
  27. LIBRARIES = $(DTLIBS) $(X11LIBS) $(SYSLIBS)
  28. LDFLAGS =
  29. .c.o:
  30. ${CC} -c $(CFLAGS) $(INCLUDES) $<
  31. all:: $(PROGRAM)
  32. $(PROGRAM):: $(OBJECTS) $(APPDEFAULTS)
  33. ${CC} -o $(PROGRAM) $(LDFLAGS) $(OBJECTS) $(LIBRARIES)
  34. clean::
  35. rm -f $(PROGRAM) $(OBJECTS)