TheAlgorithms-C-Plus-Plus/data_structure/queue/makefile

12 lines
169 B
Makefile
Raw Normal View History

2020-01-17 07:21:12 +08:00
CC= g++
CFLAGS = -c -Wall
all: test_queue
queue.o: queue.cpp
$(CC) $(CFLAGS) queue.cpp
test_queue: queue.o
$(CC) test_queue.cpp queue.o -o queue
clean:
rm *o queue