makefile
来自「基于网络编程的例子」· 代码 · 共 24 行
TXT
24 行
CFLAGS := -WallOBJS := thrdcreat thrdcancel mutexall: $(OBJS)thrdcreat: thrdcreat.c $(CC) $(CFLAGS) thrdcreat.c -o thrdcreat -lpthreadthrdcancel: thrdcancel.c $(CC) $(CFLAGS) thrdcancel.c -o thrdcancel -lpthreadmutex: mutex.c $(CC) $(CFLAGS) mutex.c -o mutex -lpthread.PHONY: clean distclean: $(RM) *.o *~ core $(OBJS)dist: clean $(RM) *.gz tar czf 021514.tar.gz *.c Makefile
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?