Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Possible Duplicate:
how to build lc tool in linux?

SHELL=/bin/sh  
CC=cc

# Objects we link together.
OBJ=lc.o get.o

all:    $(OBJ)  
    $(CC) -o lc   
          $(OBJ)

lc.o:   lc.c lc.h  
get.o:  get.c lc.h
share|improve this question
2  
Explain what? This is a simple makefile. Is there anything in particular you're stumbling on? If not, you should be reading a makefile tutorial. –  Gilles May 6 '11 at 14:03
    
Sorry to downvote, but there isn't an actual question here. –  kce May 6 '11 at 21:16
add comment

marked as duplicate by Michael Mrozek May 7 '11 at 0:53

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer

Try reading a C programming tutorial like this http://www.iu.hio.no/~mark/CTutorial/CTutorial.html

and reading the GNU make documentation http://www.gnu.org/software/make/

Dup: how to build lc tool in linux?

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.