1 # the compiler: gcc for C program, define as g++ for C++
5 # -g adds debugging information to the executable file
6 # -Wall turns on most, but not all, compiler warnings
9 # the build target executable:
14 $(TARGET): $(TARGET).c
15 $(CC) $(CFLAGS) -o $(TARGET) $(TARGET).c