smrtlink/Makefile

21 lines
412 B
Makefile
Raw Normal View History

2015-09-27 10:24:39 +00:00
# the compiler: gcc for C program, define as g++ for C++
CC = g++
# compiler flags:
# -g adds debugging information to the executable file
# -Wall turns on most, but not all, compiler warnings
2015-09-27 12:38:25 +00:00
#-I
CFLAGS = -g -Wall -std=c++11
2015-09-27 10:24:39 +00:00
# the build target executable:
TARGET = smrtlink
all: $(TARGET)
2015-09-27 10:33:55 +00:00
$(TARGET): src/*.cpp
$(CC) $(CFLAGS) -o $(TARGET) src/*.cpp src/*.h
2015-09-27 10:24:39 +00:00
clean:
2015-09-27 12:38:25 +00:00
rm src/$(TARGET).g
2015-09-27 10:24:39 +00:00