diff options
| author | JP Appel <jeanpierre.appel01@gmail.com> | 2024-04-24 22:43:33 -0400 |
|---|---|---|
| committer | JP Appel <jeanpierre.appel01@gmail.com> | 2024-04-24 22:43:33 -0400 |
| commit | 4d11db63f237423036f7daa41a1213ddcf30d532 (patch) | |
| tree | e923959891c0fc9c52c167dc8932efe671e9f31c | |
| parent | 948fd1f47e5cb724a4aaee8e3864f093f1adc7a9 (diff) | |
update build system and documentation
| -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) |
