Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][tlug] make and wildcards
- Date: Wed, 06 Dec 2006 16:49:53 +0900
- From: Darren Cook <darren@example.com>
- Subject: [tlug] make and wildcards
- User-agent: Thunderbird 1.5.0.8 (X11/20061107)
I'm adding a new rule to a makefile to syntax-check a set of files (actionscript): strict: *.as mtasc -strict -version 7 -cp /path/to/classpath *.as The problem is I want to exclude one file ("Sloppy.as"), as it won't pass the "-strict" check. My first instinct is to move the problem file to another directory, but that forces me to impose more structure on the project. It is the correct solution long-term, but I'm wondering if there are some easier short-term solutions. Idea Two was to explicitly list all the files that should pass. I don't like the maintenance implications. I wondered if there is a clever makefile solution to this? E.g. something like this in pseudo-code: FILES = *.as FILES -= Sloppy.as strict: $(FILES) mtasc -strict -version 7 -cp /path/to/classpath $(FILES) What would you do? Darren
- Follow-Ups:
- Re: [tlug] make and wildcards
- From: Botond Botyanszki
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] searching archives?
- Next by Date: Re: [tlug] Email address munging in the TLUG archives
- Previous by thread: Re: [tlug] searching archives?
- Next by thread: Re: [tlug] make and wildcards
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links