home *** CD-ROM | disk | FTP | other *** search
/ WordPerfect for Linux Bible / WP4LinuxBible.iso / sdk / wpx / code / wt / server / makefile next >
Encoding:
Makefile  |  1999-06-25  |  640 b   |  23 lines

  1. all:  wtserver
  2.  
  3. OBJS=wtserver.o wtsrvmsg.o wtcomm.o wtapi.o
  4. #OPTS=-DDEBUG
  5.  
  6. wtserver:    $(OBJS)
  7.     gcc -o wtserver $(OBJS) $(DEFS) -L/usr/X11R6/lib/ -lXm -lXt -lX11
  8.  
  9. wtserver.o:    wtserver.c wtserver.h wtserver.xbm
  10.     gcc -g -c $(OPTS) $(DEFS) -I. -I.. -I/usr/include wtserver.c
  11.  
  12. wtsrvmsg.o:    wtsrvmsg.c wtserver.h
  13.     gcc -g -c $(OPTS) $(DEFS) -I. -I.. -I/usr/include wtsrvmsg.c
  14.  
  15. wtcomm.o:    ../wtcomm.c ../wtcomm.h ../wtapi.h
  16.     gcc -g -c $(OPTS) $(DEFS) -DWTAPI_SERVER -I. -I.. -I/usr/include ../wtcomm.c
  17.  
  18. wtapi.o:    ../wtapi.c ../wtapi.h ../wtcomm.h
  19.     gcc -g -c $(OPTS) $(DEFS) -DWTAPI_SERVER -I. -I.. -I/usr/include ../wtapi.c
  20.  
  21. clean:
  22.     rm -f *.o wtserver
  23.