make 사용방법 메뉴얼
http://database.sarang.net/study/make/GNU-Make.html


제가 만든 예제인데요 -_-흠;;
대충 쓰셈;


EXEFILE = start
OBJECTS = Entry.o Sniffer.o
SOURCE = Entry.cpp Sniffer.cpp
CC = g++
LIB = -lpcap

run:
$(CC) -c $(SOURCE)

$(CC) -o $(EXEFILE) $(OBJECTS) $(LIB)

rm -rf $(OBJECTS)

Posted by 장안동베짱e :