Raquet / Wiki / v1x / Makefile Options

Makefile Options

Table of Contents

Variables

 Inside Raquet's Makefile, there are a few variables we encourage you to modify if you need to. COMPILER should be assigned to the compiler you wish to use (e.g. gcc, clang, or even g++ or clang++ if you want to use C++). CFLAGS are the compiler flags, these should be modified if you want for example, different optimization options, warning options, or a different C or C++ standard. Finally, TARGET will be the name of the final executable file, which should be changed to be the name of your program.

# Modify these if you need
COMPILER := clang
CFLAGS := --std=c99 -Wall -Wextra -O2

# Name of the final executable
TARGET := Raquet