diff options
-rw-r--r-- | Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1,5 +1,9 @@ CFLAGS += -Wall -Wextra -Werror LDFLAGS += -lm -lpthread + +HEADERS = generator.h algorithms.h fractal-gen.h + + all: fractal-gen symlinks symlinks: fractal-gen @@ -10,6 +14,8 @@ fractal-gen: fractal-gen.o \ algorithms/mandelbrot.o \ algorithms/burning-ship.o \ +*.o: *.c $(HEADERS) + $(CC) -c -o $@ $< $(CFLAGS) clean: clean-object rm fractal-gen \ |