home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-385-Vol-1of3.iso / m / motifpg2.zip / ch02 / Imakefile next >
Makefile  |  1992-07-08  |  649b  |  34 lines

  1. #
  2. # example programs Imakefile
  3. #
  4. #
  5.  
  6. #define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS)'
  7.  
  8. SRCS7=    xgetstring.c
  9. OBJS7=    xgetstring.o
  10.  
  11. SRCS6=    xsetstring.c
  12. OBJS6=    xsetstring.o
  13.  
  14. SRCS1=    xhello.c
  15. OBJS1=    xhello.o
  16.  
  17. SRCS2=    xgoodbye.c
  18. OBJS2=    xgoodbye.o
  19.  
  20. PROGRAMS = xhello xgoodbye xsetstring xgetstring
  21.  
  22. all::  $(PROGRAMS)
  23.  
  24. LOCAL_LIBRARIES = -lXm $(XTOOLLIB) $(XLIB)
  25. #LOCAL_LIBRARIES = $(XMLIB) $(XTOOLLIB) $(XLIB)
  26.  
  27. NormalProgramTarget(xgetstring,$(OBJS7),,$(LOCAL_LIBRARIES),)
  28.  
  29. NormalProgramTarget(xsetstring,$(OBJS6),,$(LOCAL_LIBRARIES),)
  30.  
  31. NormalProgramTarget(xhello,$(OBJS1),,$(LOCAL_LIBRARIES),)
  32.  
  33. NormalProgramTarget(xgoodbye,$(OBJS2),,$(LOCAL_LIBRARIES),)
  34.