Thread: make only does the first line

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date
    Jul 2002
    Posts
    913

    make only does the first line

    im working on a couple of makefiles. i have one for a couple of source file in a dir. its supports to turn them into libraries, but it only does the first line, why?

    i did it like this
    [edit]
    str_remove.o : str_remove.c
    gcc -c str_remove.c

    ar -r str_remove.a
    ranlib str_remove.a
    str_replace.o : str_replace.c
    gcc -c str_replace.c

    ar -r str_replace.a
    ranlib str_replace.a
    [/edit]

    whats wrong?
    Last edited by mart_man00; 06-20-2003 at 04:43 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. help again with scrolling without wrapping
    By Dukefrukem in forum C Programming
    Replies: 8
    Last Post: 09-21-2007, 12:48 PM
  2. makefile
    By twans in forum C++ Programming
    Replies: 3
    Last Post: 04-08-2005, 12:16 AM
  3. print line by line from a file
    By SoFarAway in forum C Programming
    Replies: 3
    Last Post: 02-18-2005, 01:36 PM
  4. SSCANF help
    By mattz in forum C Programming
    Replies: 7
    Last Post: 12-10-2001, 04:53 PM
  5. Validating the contents of a char buffer
    By mattz in forum C Programming
    Replies: 3
    Last Post: 12-09-2001, 06:21 PM