initial commit
This commit is contained in:
25
makefile
Executable file
25
makefile
Executable file
@@ -0,0 +1,25 @@
|
||||
CC=g++
|
||||
CFLAGS=-c -Wall --pedantic
|
||||
LDFLAGS=-Wall --pedantic
|
||||
SOURCES=data.cpp costfunctions.cpp models.cpp methods.cpp TravelingSalesPerson.cpp
|
||||
OBJECTS=data.o costfunctions.o models.o methods.o TravelingSalesPerson.o
|
||||
EXECUTABLE=projet
|
||||
|
||||
all: $(EXECUTABLE)
|
||||
|
||||
$(EXECUTABLE): $(OBJECTS)
|
||||
$(CC) $(LDFLAGS) $^ -o $@
|
||||
|
||||
clean:
|
||||
$(RM) *.o $(EXECUTABLE) *.temp
|
||||
|
||||
depend:
|
||||
makedepend -Y $(SOURCES)
|
||||
# DO NOT DELETE
|
||||
|
||||
data.o: data.h
|
||||
costfunctions.o: costfunctions.h
|
||||
models.o: models.h data.h costfunctions.h
|
||||
methods.o: models.h data.h costfunctions.h methods.h
|
||||
methods.o: SimulatedAnnealingParameters.h
|
||||
test_methods.o: models.h data.h costfunctions.h methods.h
|
||||
Reference in New Issue
Block a user