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
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.
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/