Sign up ×
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?


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

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

lc.o:   lc.c lc.h  
get.o:  get.c lc.h
share|improve this question

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.

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

1 Answer 1

Try reading a C programming tutorial like this

and reading the GNU make documentation

Dup: how to build lc tool in linux?

share|improve this answer

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