blob: aa67df96dd6c023d8005507cea2e50f436b6877e (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
# the compiler: gcc for C program, define as g++ for C++
CC = gcc
# compiler flags:
# -g adds debugging information to the executable file
# -Wall turns on most, but not all, compiler warnings
CFLAGS = -g -Wall
# the build target executable:
TARGET = myprog
all: $(TARGET)
|