🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.amiga.tech
4 messages
4 total messages Started by Rev. Ben A. Mesander Thu, 27 Dec 1990 19:36
SAS/C lmk program
#7709
Author: Rev. Ben A. Mesander
Date: Thu, 27 Dec 1990 19:36
26 lines
1144 bytes
I have a target in a makefile like this:

clean:
	delete #?.o tecoc

How do I escape the '#' character, so lmk does not eat the rest of the
line as a comment? The manual says that the ~ character is the escape
character, but

clean:
	delete ~#?.o tecoc

does not work either. I hate to have to put a dependency on ARP delete,
i.e.,

clean:
	delete *.o tecoc

in my makefile, since it is for public consumption. No, I can't do a
delete $(OFILES) or anything like that; there are 123 object modules;
they overflow an Amiga command line. Any ideas?

--
| ben@epmooch.UUCP   (Ben Mesander)       | "Cash is more important than |
| ben%servalan.UUCP@uokmax.ecn.uoknor.edu |  your mother." - Al Shugart, |
| !chinet!uokmax!servalan!epmooch!ben     |  CEO, Seagate Technologies   |
Re: SAS/C lmk program
#7722
Author: Andy Finkel
Date: Sun, 30 Dec 1990 19:45
28 lines
1062 bytes
In article <ben.4040@epmooch.UUCP> ben@epmooch.UUCP (Rev. Ben A. Mesander) writes:
>I have a target in a makefile like this:
>
>clean:
>	delete #?.o tecoc
>
>How do I escape the '#' character, so lmk does not eat the rest of the
>line as a comment? The manual says that the ~ character is the escape
>character, but


Here's my clean line


clean:
        @delete (\#?.o|\#?.ld)



			andy
-- 
andy finkel		{uunet|rutgers|amiga}!cbmvax!andy
Commodore-Amiga, Inc.

"And Amiga has not forgot the retailer."

Any expressed opinions are mine; but feel free to share.
I disclaim all responsibilities, all shapes, all sizes, all colors.
Re: SAS/C lmk program
#7783
Author: Tal Lewis Lancaster
Date: Thu, 03 Jan 1991 01:00
19 lines
910 bytes
ben@epmooch.UUCP (Rev. Ben A. Mesander) writes:

>I have a target in a makefile like this:

>clean:
>	delete #?.o tecoc

>How do I escape the '#' character, so lmk does not eat the rest of the
>line as a comment? 


> No, I can't do a
>delete $(OFILES) or anything like that; there are 123 object modules;
>they overflow an Amiga command line. Any ideas?

Have you considered executing a script to to the removing?  Not very
elegant, but it works.

Tal.
Re: SAS/C lmk program
#7804
Author: Peter Cherna
Date: Thu, 03 Jan 1991 17:20
13 lines
692 bytes
ben@epmooch.UUCP (Rev. Ben A. Mesander) writes:

>I have a target in a makefile like this:

>clean:
>	delete #?.o tecoc

Use the backslash to escape the '#' character.  Try:

	delete \#?.o tecoc


   Peter
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads