enable cmake in subfolders of data_structures

This commit is contained in:
Krishna Vedala
2020-06-05 21:55:12 -04:00
parent 70bb8c81be
commit ff6cb07b9c
6 changed files with 25 additions and 22 deletions

View File

@@ -0,0 +1,5 @@
add_executable( cll
cll.cpp
main_cll.cpp
)
install(TARGETS cll DESTINATION "bin/data_structures")

View File

@@ -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