home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / unix / volume9 / xterm / part07 / Xlib / Makefile next >
Makefile  |  1987-04-21  |  734b  |  36 lines

  1. INCLUDES= -I/usr/include/X -I../../Xlib
  2. C2= /lib/c2
  3. #
  4. # The KEYBD define may be include to include the keyboard mods.
  5. CFLAGS= -O ${INCLUDES} ${NETOPTIONS} -DKEYBD
  6.  
  7. .SUFFIXES: .o .h .c
  8.  
  9. .c.o:
  10. #    ${CC} -pg ${CFLAGS} -c -S $*.c
  11. #    ${C2} $*.s | ../../inline/inline | ${AS} -o $*.o
  12. #    rm -f $*.s
  13. #    -ld -X -r $*.o
  14. #    mv a.out profiled/$*.o
  15.     ${CC} ${CFLAGS} -c -S $*.c
  16.     ${C2} $*.s | ../../inline/inline | ${AS} -o $*.o
  17.     rm -f $*.s
  18.     -ld -x -r $*.o
  19.     mv a.out $*.o
  20.  
  21. OLIST=    XKeyBind.o
  22.  
  23. libX.a: $(OLIST)
  24.     ar cr libX.a $(OLIST)
  25.     @ranlib libX.a
  26. #
  27. #libX_p.a: $(OLIST)
  28. #    cd profiled; ar cr ../libX_p.a $(OLIST)
  29. #    @ranlib libX_p.a
  30.  
  31. $(OLIST): ../../Xlib/Xlib.h
  32.  
  33. XKeyBind.o: ../../Xlib/Xkeyboard.h ../../Xlib/Xkeymap.h Xdefault.h
  34.  
  35. XGetDefault.o: Xdefault.h
  36.