This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This makefile is for a main file with one external header and implementation file (.h/.cpp) | |
## Variables | |
# target is the name of the binary executable | |
TARGET=main | |
# class is the name of the class to include in the target.cpp file | |
CLASS=Vector | |
# compiler is g++ | |
CC=g++ | |
# compile with all warnings and extras | |
CFLAGS=-g -Wall -Wextra |