makefile.txt

来自「The existed tree implementation」· 文本 代码 · 共 25 行

TXT
25
字号
# Makefile for MapAVL class

# define compiler
CC = g++

# location of the Pair template class
PAIR_LOCATION = /ugrad0/cs252/pub/examples/Pair

# define compile flags
# -g: insert debug information
CFLAGS = -g -I$(PAIR_LOCATION)

#define link flags
LFLAGS =

default: MapAVL-driver

MapAVL-driver.o: MapAVL-driver.cpp MapAVL.h MapAVL.template
	$(CC) $(CFLAGS) -c MapAVL-driver.cpp

MapAVL-driver: MapAVL-driver.o
	$(CC) $(LFLAGS) -o MapAVL-driver MapAVL-driver.o

clean:
	rm -f MapAVL-driver.o MapAVL-driver core

⌨️ 快捷键说明

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