diff options
| -rw-r--r-- | README.md | 2 | ||||
| -rw-r--r-- | TODO.md | 6 | ||||
| -rw-r--r-- | makefile | 9 |
3 files changed, 12 insertions, 5 deletions
@@ -1,4 +1,4 @@ -# Complex Fractals +# Complex Fractal Final Project for Moravian University CSCI 392: High Performance Computing. @@ -4,7 +4,11 @@ * [ ] find way to render data into image files * [x] read/write grids to/from file - * [ ] create image with ImageMagick core/wand + * [ ] create image with libgd + * [ ] create animation with libgd +* [ ] code refactor + * [ ] change functions so that complex_t is passed instead of complex from <complex.h> + * [ ] store the size of lower_left and upper_right before the values of lower_left and upper_right in the .grid format * [x] write serial * [x] mandelbrot * [x] multibrot @@ -1,13 +1,13 @@ CC := gcc -CPPFLAGS := -CFLAGS := -Wall +CPPFLAGS := -DEXTENDED_PRECISION +CFLAGS := -Wall LDFLAGS := -lm SRC_DIR := src BUILD_DIR := build OBJ_DIR := $(BUILD_DIR)/objects -TARGET := serial-fractals shared-fractals +TARGET := fractal-render serial-fractals shared-fractals SRCS := $(wildcard $(SRC_DIR)/*.c) OBJS := $(patsubst $(SRC_DIR)/%.c, $(OBJ_DIR)/%.o, $(SRCS)) @@ -20,6 +20,9 @@ all: $(addprefix $(BUILD_DIR)/, $(TARGET)) # Programs # ############## +$(BUILD_DIR)/fractal-render: $(OBJ_DIR)/fractal_render.o $(OBJ_DIR)/grids.o + $(CC) $(CFLAGS) $^ -o $@ $(LDFLAGS) + $(BUILD_DIR)/serial-fractals: $(OBJ_DIR)/fractals.o $(OBJ_DIR)/serial-fractals.o $(OBJ_DIR)/grids.o $(CC) $(CFLAGS) $^ -o $@ $(LDFLAGS) |
