New class: RouletteWheel
This commit is contained in:
parent
4b38d1c494
commit
a0fc0257ef
14
Makefile
14
Makefile
@ -63,6 +63,7 @@ build-objects: \
|
|||||||
$(BUILD_DIR)/$(OBJECT_PREFIX)Random.o \
|
$(BUILD_DIR)/$(OBJECT_PREFIX)Random.o \
|
||||||
$(BUILD_DIR)/$(OBJECT_PREFIX)Population.o \
|
$(BUILD_DIR)/$(OBJECT_PREFIX)Population.o \
|
||||||
$(BUILD_DIR)/$(OBJECT_PREFIX)Breeder.o \
|
$(BUILD_DIR)/$(OBJECT_PREFIX)Breeder.o \
|
||||||
|
$(BUILD_DIR)/$(OBJECT_PREFIX)RouletteWheel.o \
|
||||||
$(BUILD_DIR)/$(OBJECT_PREFIX)Chromosome.o
|
$(BUILD_DIR)/$(OBJECT_PREFIX)Chromosome.o
|
||||||
$(call say,Done building objects)
|
$(call say,Done building objects)
|
||||||
|
|
||||||
@ -93,6 +94,19 @@ $(BUILD_DIR)/$(OBJECT_PREFIX)Breeder.o: \
|
|||||||
$(call say,Built $@)
|
$(call say,Built $@)
|
||||||
|
|
||||||
|
|
||||||
|
# RouletteWheel.o
|
||||||
|
$(BUILD_DIR)/$(OBJECT_PREFIX)RouletteWheel.o: \
|
||||||
|
RouletteWheel.h \
|
||||||
|
RouletteWheel.cpp \
|
||||||
|
Defines.h Enums.h Includes.h \
|
||||||
|
Random.h
|
||||||
|
$(CC) -o $@ \
|
||||||
|
RouletteWheel.cpp \
|
||||||
|
$(CFLAGS)
|
||||||
|
$(call say,Built $@)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Chromosome.o
|
# Chromosome.o
|
||||||
$(BUILD_DIR)/$(OBJECT_PREFIX)Chromosome.o: \
|
$(BUILD_DIR)/$(OBJECT_PREFIX)Chromosome.o: \
|
||||||
Chromosome.h \
|
Chromosome.h \
|
||||||
|
Loading…
Reference in New Issue
Block a user