摘要: # debug# CFLAGS = -g -w -c# releaseCFLAGS = -O -w -cCC = xlC_rCOMPILE = $(CC) $(CFLAGS)OBJECTS = myapp.o socket.o mylog.oTARGET = myappall: $(TARGET)$(TARGET): $(OBJECTS)$(CC) -o $@ $(OBJECTS)myapp.o: myapp.c socket.h mylog.h$(COMPILE) $<socket.o: socket.c socket.h mylog.h$(COMPILE) $<mylog.o: 阅读全文
posted @ 2011-05-18 14:40 ruobent 阅读(93) 评论(0) 推荐(0) 编辑