(General)+makefile for common recipes that I'll use in this project

Just write a few lines and it saves so much time.  Don't try to
automate it too much though.
This commit is contained in:
2021-11-20 22:58:43 +00:00
parent e30444cdde
commit ede2e8bfc0

9
Makefile Normal file
View File

@@ -0,0 +1,9 @@
CC=clang++
CFLAGS=-pedantic -Wall
list: list.cpp
$(CC) $(CFLAGS) $^ -o $@
.PHONY: memcheck_list
memcheck_list: list
valgrind --leak-check=full ./list;