https://github.com/epiqc/ScaffCC
Raw File
Tip revision: 66a79944ee4cd116b27bc1a69137276885461db8 authored by Andrew Litteken on 28 September 2021, 15:30:02 UTC
Merge pull request #49 from AndrewLitteken/master
Tip revision: 66a7994
Makefile
# the compiler: gcc for C program, define as g++ for C++
# compiles with new gcc version: module unload gcc && module load gcc/4.9
CXX=clang++
RM=rm -f

# compiler flags:
CPPFLAGS=-std=c++11 -O3 -Wall

# define any directories containing header files other than /usr/include
INCLUDES=-I/usr/include

# define library paths in addition to /usr/lib
LFLAGS=-L/usr/lib

# define any libraries to link into executable:
LIBS=-lboost_program_options

# implementation source files
SOURCES=braidflash.cpp

# the build target executable:
TARGET=braidflash

all: $(TARGET)

$(TARGET): $(TARGET).cpp
	$(CXX) $(CPPFLAGS) $(INCLUDES) $(LFLAGS) $(LIBS) -o $(TARGET) $(SOURCES)

clean:
	$(RM) $(TARGET)

back to top