home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / lang / perl / 5621 < prev    next >
Encoding:
Text File  |  1992-08-30  |  938 b   |  38 lines

  1. Newsgroups: comp.lang.perl
  2. Path: sparky!uunet!mcsun!sunic!corax.udac.uu.se!irfu.se!jhd
  3. From: jhd@irfu.se (Jan D.)
  4. Subject: Re: usersub: HOW TO
  5. Message-ID: <1992Aug31.072037.2703@irfu.se>
  6. Date: Mon, 31 Aug 1992 07:20:37 GMT
  7. Distribution: comp.lang.perl
  8. References: <ROBT.92Aug29232737@idt101.is.morgan.com>
  9. Organization: Swedish Institute of Space Physics, Uppsala, Sweden
  10. Lines: 26
  11.  
  12. In article <ROBT.92Aug29232737@idt101.is.morgan.com> robt@is.morgan.com (Rob Torop) writes:
  13.  
  14.     [ usub examples deleted ]
  15.  
  16.  
  17. I have some suggestions for the makefile.
  18.  
  19. Some makes can't make a .o from a .mus even if they know how to make
  20. a .c from a .mus. I suggest you change
  21.  
  22.     .mus.c:
  23.         mus $*.mus > $*.c
  24.  
  25. to
  26.     .mus.o:
  27.         mus $*.mus > $*.c
  28.         $(CC) -c $(CFLAGS) $*.c
  29.  
  30. if you have such a make (GNU make isn't one of them).
  31.  
  32. Also the libs perl wants are missing. You can find them like this:
  33.  
  34. LIBS = `/bin/sh -c '. $(PERLSRC)/config.sh ; echo $$libs'`
  35.  
  36.     Jan D.
  37.  
  38.