help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Multiple files different flags needed


From: Anoneironaut
Subject: Re: Multiple files different flags needed
Date: Tue, 25 Jul 2006 09:02:02 -0700 (PDT)

Ok.  I tried to approach this problem from a new angle and it seems to have
worked.  Here is my solution:

# Special Rules
HEAP.r37: CFLAGS = $(HEAPFLAGS)

# General Rules for making
%.r37:%.c
        $(COMP) $(CFLAGS) $<

%.r37:%.C
        $(COMP) $(CFLAGS) $<

Instead of defining a new compile option.. I just change CFLAGS if HEAP.r37
is approached.
-- 
View this message in context: 
http://www.nabble.com/Multiple-files-different-flags-needed-tf1998767.html#a5488228
Sent from the Gnu - Make - Help forum at Nabble.com.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]