New class: RouletteWheel

This commit is contained in:
Mike 2018-04-14 02:24:05 -07:00
parent 4b38d1c494
commit a0fc0257ef

View File

@ -63,6 +63,7 @@ build-objects: \
$(BUILD_DIR)/$(OBJECT_PREFIX)Random.o \
$(BUILD_DIR)/$(OBJECT_PREFIX)Population.o \
$(BUILD_DIR)/$(OBJECT_PREFIX)Breeder.o \
$(BUILD_DIR)/$(OBJECT_PREFIX)RouletteWheel.o \
$(BUILD_DIR)/$(OBJECT_PREFIX)Chromosome.o
$(call say,Done building objects)
@ -93,6 +94,19 @@ $(BUILD_DIR)/$(OBJECT_PREFIX)Breeder.o: \
$(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
$(BUILD_DIR)/$(OBJECT_PREFIX)Chromosome.o: \
Chromosome.h \