Skip to content

Commit

Permalink
* rename CPP to CXX in Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Linard committed Jun 12, 2020
1 parent 1dc0719 commit 2fab54b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Project: CROPLinux
CPP = g++
CXX = g++
OBJ = alignment.o Unique.o bayesianclustering.o CROP.o Main.o
LINKOBJ = alignment.o Unique.o bayesianclustering.o CROP.o Main.o
LIBS = -g3 -lgsl -lgslcblas -fopenmp -m64
Expand All @@ -15,19 +15,19 @@ clean: clean-custom
${RM} $(OBJ) $(BIN) $(BIN).dSYM

$(BIN): $(OBJ)
$(CPP) $(LINKOBJ) -o CROPLinux $(LIBS)
$(CXX) $(LINKOBJ) -o CROPLinux $(LIBS)

alignment.o: alignment.c alignment.h common.h
$(CPP) -c alignment.c -o alignment.o $(CXXFLAGS)
$(CXX) -c alignment.c -o alignment.o $(CXXFLAGS)

Unique.o: Unique.cpp Unique.h common.h
$(CPP) -c Unique.cpp -o Unique.o $(CXXFLAGS)
$(CXX) -c Unique.cpp -o Unique.o $(CXXFLAGS)

bayesianclustering.o: bayesianclustering.cpp bayesianclustering.h alignment.h common.h
$(CPP) -c bayesianclustering.cpp -o bayesianclustering.o $(CXXFLAGS)
$(CXX) -c bayesianclustering.cpp -o bayesianclustering.o $(CXXFLAGS)

CROP.o: CROP.cpp CROP.h bayesianclustering.h common.h
$(CPP) -c CROP.cpp -o CROP.o $(CXXFLAGS)
$(CXX) -c CROP.cpp -o CROP.o $(CXXFLAGS)

Main.o: Main.cpp CROP.h Unique.h
$(CPP) -c Main.cpp -o Main.o $(CXXFLAGS)
$(CXX) -c Main.cpp -o Main.o $(CXXFLAGS)

0 comments on commit 2fab54b

Please sign in to comment.