2012年10月10日

原来makefile可以写得如此精简

摘要: TARGET = insert_sortCFLAGS = -g3all: $(TARGET).PHONY:clean: $(RM) $(TARGET) a.out core *.o下面是执行结果...[root@bs111 pg_019]# makemake: Nothing to be done for `all'.[root@bs111 pg_019]# make cleanrm -f insert_sort a.out core *.o[root@bs111 pg_019]# makecc -g3 insert_sort.c -o insert_sortinser... 阅读全文

posted @ 2012-10-10 15:27 Orz.. 阅读(215) 评论(0) 推荐(0)

导航