Sorting alphabetically

2006-08-15 Thread Anoneironaut
Hey guys. I'm trying to sort a long list of files in alphabetical order. All of the files are case sensitive so I can't change the names at all. I've tried using the GNU sort function but it sorts things based on their ASCII value and not alphabetically. So for example with a list like this:

Easy Question - Echoing a newline

2006-07-31 Thread Anoneironaut
Hey guys, This question is probably very easy, but despite all of my scouring of the internet I can't find an answer. I would like to be able to echo a newline, however everytime I try to just use echo with no parameters I get the message ECHO IS OFF. I'm using a Windows XP operating

Re: Easy Question - Echoing a newline

2006-07-31 Thread Anoneironaut
Btw, I've tried: @echo and @echo \n and @echo and these just end up outputting and \n and -- View this message in context: http://www.nabble.com/Easy-QuestionEchoing-a-newline-tf2028196.html#a5578115 Sent from the Gnu - Make - Help forum at Nabble.com.

Re: Easy Question - Echoing a newline

2006-07-31 Thread Anoneironaut
That worked like a charm! Thanks! -- View this message in context: http://www.nabble.com/Easy-QuestionEchoing-a-newline-tf2028196.html#a5579219 Sent from the Gnu - Make - Help forum at Nabble.com. ___ Help-make mailing list Help-make@gnu.org

.PHONY targets and prerequisite checking

2006-07-27 Thread Anoneironaut
Hi, I want to build a program that consists of several modules: toplevel/ foo/ Makefile foo.c bar/ Makefile bar.c Makefile main.c Each module would be compiled into a library, ie. in foo/, a library libfoo.a would be created, and in bar/ a

Multiple files different flags needed

2006-07-25 Thread Anoneironaut
Hey guys, Here is my situation. I'm trying to make a bunch of files into a single executable. Most of these files compile and link with a uniform set of flags. However there are 2 or 3 files which have different flags. What I tried to do to make this work was to define a pattern rule

More information

2006-07-25 Thread Anoneironaut
I am using gnumake version 3.80. My operating system is Windows XP. Here is the full error text: Makefile:97: *** multiple target patterns. Stop. Here is the full makefile: # Tools TOOLKIT_DIR = C:/IAR/EW23/h8 PRODUCT_DIR = C:/ec2000se PROJ_DIR = $(PRODUCT_DIR)/Sita TOOLS =

Re: More information

2006-07-25 Thread Anoneironaut
That line is tabbed. -- View this message in context: http://www.nabble.com/Multiple-files-different-flags-needed-tf1998767.html#a5487914 Sent from the Gnu - Make - Help forum at Nabble.com. ___ Help-make mailing list Help-make@gnu.org

Re: More information

2006-07-25 Thread Anoneironaut
Nope. The error is definitely pointing at the line that I mark out. I'll rewrite it. The error occurs on this line: Heap.r37 : Heap.c $(COMP) $(HEAPFLAGS) Heap.c == Specifically Here -Anon -- View this message in context:

Re: Multiple files different flags needed

2006-07-25 Thread Anoneironaut
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

Batch file works where MAKE fails!

2006-07-24 Thread Anoneironaut
Hello people, While this issue might be a compiler problem, I want to post it in this forum to make sure I'm not missing something important about make. Basically what I am trying to do is simple. I'm just trying to compile 1 file! I am able to get the compiler to compile this file when

Re: Batch file works where MAKE fails!

2006-07-24 Thread Anoneironaut
Forward slashes did the trick. I was under the impression that forward slashes were a no go in windows! Thanks for the help guys! -Anon -- View this message in context: http://www.nabble.com/Batch-file-works-where-MAKE-fails%21-tf1993359.html#a5477470 Sent from the Gnu - Make - Help forum at