mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-06-18 01:36:52 +08:00
enable cmake in subfolders of data_structures
This commit is contained in:
5
data_structures/cll/CMakeLists.txt
Normal file
5
data_structures/cll/CMakeLists.txt
Normal file
@@ -0,0 +1,5 @@
|
||||
add_executable( cll
|
||||
cll.cpp
|
||||
main_cll.cpp
|
||||
)
|
||||
install(TARGETS cll DESTINATION "bin/data_structures")
|
||||
@@ -1,11 +0,0 @@
|
||||
CC= g++
|
||||
CFLAGS = -c -Wall
|
||||
|
||||
all: cll
|
||||
cll.o: cll.cpp main_cll.cpp
|
||||
$(CC) $(CFLAGS) cll.cpp main_cll.cpp
|
||||
cll: cll.o
|
||||
$(CC) main_cll.o cll.o -o cll
|
||||
|
||||
clean:
|
||||
rm *o cll
|
||||
Reference in New Issue
Block a user