makefile syntax to exclude files

Discussion in 'Perl Misc' started by amir.miller@gmail.com, Feb 21, 2006.

  1. Guest

    Hi,

    (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 %.pl,%,$(wildcard ${CLIDIR}/*.pl),$(wildcard
    ${DIAGDIR}/*.pl))
    else
    MK_PERL_CLIS=$(patsubst %.pl,%,$(wildcard ${CLIDIR}/*.pl))
    endif

    This builds all the .pl files in CLIDIR and DIAGDIR for windows and all
    ..pl 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?

    Thanks,

    Amir
    , Feb 21, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Peter
    Replies:
    2
    Views:
    5,777
    Steve C. Orr, MCSD
    Aug 20, 2003
  2. Chuck Ritzke

    Exclude Files from Copy Project?

    Chuck Ritzke, Apr 22, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    373
    Curt_C [MVP]
    Apr 22, 2004
  3. Aamir Ghanchi

    correct syntax to exclude tags

    Aamir Ghanchi, Apr 25, 2007, in forum: ASP .Net
    Replies:
    1
    Views:
    302
    Ray Costanzo
    Apr 25, 2007
  4. Aamir Ghanchi

    correct syntax to exclude tags

    Aamir Ghanchi, Apr 25, 2007, in forum: ASP .Net Web Controls
    Replies:
    1
    Views:
    126
    Ray Costanzo
    Apr 25, 2007
  5. NewBie

    Makefile - perl script syntax error

    NewBie, Aug 24, 2005, in forum: Perl Misc
    Replies:
    1
    Views:
    122
    Josef Moellers
    Aug 24, 2005
Loading...

Share This Page