⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 makefile

📁 "udptar.gz" is an example of UDP socket.
💻
字号:
# Makefile for simple udp client and echo server# This rule describes how to build a .o file from a .c file# -Wall tells gcc to print all warnings!.c.o:	gcc -c -Wall $<# on solaris we need to explicitly include the socket and name server# libraries, this because sockets are not supported by the O.S. directly,# but are a library that calls the native (XTI) network API. # Leave this commented out unless you are on a Sun running Solaris# by default Make will build the first target - so here we define the# first target "all", which depends on targets "client" and "server"all: server client# Here are the rules that tell make how to build the executables# named "client" and "server". If LIBS is not defined, including it# does no harm!server: server.o 	gcc -o server server.o client: client.o 	gcc -o client client.o 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -