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

📄 makefile

📁 This assessment creates an initial version of the auction project that allows user to register, logi
💻
字号:
CC=g++
CFLAGS=-g -ansi -pedantic
LFLAGS=-L/lib -lwsock32

SERVER-SRC=main.cpp processrequest.cpp buildpage.cpp \
		Date.cpp Advertisement.cpp Client.cpp \
		Listing.cpp Group.cpp

SERVER-INC=main.h processrequest.h buildpage.h \
		Date.h Advertisement.h Client.h \
		Listing.h Group.h

SERVER-OBJ=main.o processrequest.o buildpage.o \
		Date.o Advertisement.o Client.o \
		Listing.o Group.o 

all: server 

server: $(SERVER-INC) $(SERVER-OBJ)
	$(CC) $(SERVER-SRC) $(CFLAGS) $(LFLAGS) -o auction-server.exe

clean: 
	rm *.o
	rm auction-server.exe

%.o: %.cpp
	$(CC) $(CFLAGS) -c $(@:%.o=%.cpp)

⌨️ 快捷键说明

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