home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.perl
- Path: sparky!uunet!mcsun!sunic!corax.udac.uu.se!irfu.se!jhd
- From: jhd@irfu.se (Jan D.)
- Subject: Re: usersub: HOW TO
- Message-ID: <1992Aug31.072037.2703@irfu.se>
- Date: Mon, 31 Aug 1992 07:20:37 GMT
- Distribution: comp.lang.perl
- References: <ROBT.92Aug29232737@idt101.is.morgan.com>
- Organization: Swedish Institute of Space Physics, Uppsala, Sweden
- Lines: 26
-
- In article <ROBT.92Aug29232737@idt101.is.morgan.com> robt@is.morgan.com (Rob Torop) writes:
-
- [ usub examples deleted ]
-
-
- I have some suggestions for the makefile.
-
- Some makes can't make a .o from a .mus even if they know how to make
- a .c from a .mus. I suggest you change
-
- .mus.c:
- mus $*.mus > $*.c
-
- to
- .mus.o:
- mus $*.mus > $*.c
- $(CC) -c $(CFLAGS) $*.c
-
- if you have such a make (GNU make isn't one of them).
-
- Also the libs perl wants are missing. You can find them like this:
-
- LIBS = `/bin/sh -c '. $(PERLSRC)/config.sh ; echo $$libs'`
-
- Jan D.
-
-