Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > makefile syntax to exclude files

Thread Tools

makefile syntax to exclude files
Posts: n/a

(hope this is the correct group)

I am using PerlApp with a makefile to build my code on UNIX, Windows
and Linux.
I have the following line in my makefile:
ifeq "$(OSTYPE)" "Windows_NT"
MK_PERL_CLIS=$(patsubst,%,$(wildcard ${CLIDIR}/*.pl),$(wildcard
MK_PERL_CLIS=$(patsubst,%,$(wildcard ${CLIDIR}/*.pl))

This builds all the .pl files in CLIDIR and DIAGDIR for windows and all files in CLIDIR for UNIX.

There is one .pl file I want to exclude from CLIDIR on Windows.
Is there any way to specify a file to ignore in compilation?



Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
correct syntax to exclude tags Aamir Ghanchi ASP .Net Web Controls 1 04-25-2007 03:36 PM
correct syntax to exclude tags Aamir Ghanchi ASP .Net 1 04-25-2007 03:36 PM
Makefile - perl script syntax error NewBie Perl Misc 1 08-24-2005 10:54 AM
Exclude Files from Copy Project? Chuck Ritzke ASP .Net 1 04-22-2004 05:50 PM
Forms Authentication - how to exclude certain files Peter ASP .Net 2 08-20-2003 07:39 PM