home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-385-Vol-1of3.iso / m / motifpg2.zip / ch05 / Imakefile next >
Makefile  |  1992-07-03  |  1KB  |  35 lines

  1.  
  2. INCLUDES = -I.  -I$(MTOOLKITSRC) -I$(LIBSRC)
  3.  
  4. SRCS1=    xcomstring.c
  5. SRCS2=    xuildemo.c
  6. SRCS3=    xuildemo.uil
  7.  
  8. OBJS1=    xcomstring.o
  9. OBJS2=    xuildemo.o
  10.  
  11. all:: xuildemo xcomstring
  12.  
  13. NormalLibraryObjectRule()
  14.  
  15. xuildemo: xuildemo.o xuildemo.uid
  16.     $(RM) $@                                                        
  17.     $(CC) -o $@ xuildemo.o $(DEPS) $(LOCAL_LIBRARIES) $(LDFLAGS) $(SYSLIBS)
  18.  
  19.                                                                         
  20. xuildemo.uid: xuildemo.uil
  21.     $(RM) $@                                                        
  22.     uil -o $@ xuildemo.uil
  23.                                                                         
  24.                                                                         
  25. clean::                                                                 
  26.     $(RM) xuildemo                                                   
  27.     $(RM) xuildemo.uid                                               
  28.     $(RM) xuildemo.o
  29.  
  30. DependTarget()
  31.  
  32. LOCAL_LIBRARIES = -lMrm -lXm $(XTOOLLIB) $(XLIB) 
  33.  
  34. NormalProgramTarget(xcomstring,$(OBJS1),, $(LOCAL_LIBRARIES),)
  35.