2
0

Makefile.FreeBSD 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. # $XConsortium: Makefile.ibm /main/2 1996/05/13 12:02:39 drk $
  2. ##########################################################################
  3. #
  4. # Makefile for ToolTalk examples (IBM)
  5. #
  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.
  10. #
  11. ##########################################################################
  12. CC = clang
  13. RM = rm -f
  14. PROGRAM = broadcast
  15. SOURCES = broadcast.c
  16. OBJECTS = broadcast.o
  17. DEFINES =
  18. CDEBUGFLAGS = -O -g
  19. CFLAGS = $(DEFINES) $(CDEBUGFLAGS)
  20. DTINCLUDE = -I/usr/dt/include
  21. X11INCLUDE = -I/usr/local/include
  22. INCLUDES = $(DTINCLUDE) $(X11INCLUDE)
  23. DTLIBS = -L/usr/dt/lib -ltt -L/usr/local/lib -lXm
  24. X11LIBS = -L/usr/local/lib -lXt -lX11
  25. SYSLIBS =
  26. LIBRARIES = $(DTLIBS) $(X11LIBS) $(SYSLIBS)
  27. LDFLAGS =
  28. .c.o:
  29. $(CC) -c $(CFLAGS) $(INCLUDES) $<
  30. all:: $(PROGRAM)
  31. $(PROGRAM):: $(OBJECTS)
  32. $(CC) -o $(PROGRAM) $(LDFLAGS) $(OBJECTS) $(LIBRARIES)
  33. clean::
  34. $(RM) $(PROGRAM) $(OBJECTS)