diff options
author | David Phillips <dbphillipsnz@gmail.com> | 2016-03-30 11:31:10 +1300 |
---|---|---|
committer | David Phillips <dbphillipsnz@gmail.com> | 2016-03-30 11:31:10 +1300 |
commit | 90e9e471a733c925bb352a52d820bef0ac285dc1 (patch) | |
tree | 53638a9c8b0d5d491058ea3ba6a0bf5da4093fdd /Makefile | |
parent | 1d50fb35485583404691d5f30420fa9d494af35f (diff) | |
download | fractal-gen-90e9e471a733c925bb352a52d820bef0ac285dc1.tar.xz |
Use system default recipes in Makefile
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -1,3 +1,5 @@ +CFLAGS += -Wall -Wextra -Werror +LDFLAGS += -lm -lpthread all: fractal-gen symlinks symlinks: fractal-gen @@ -10,12 +12,7 @@ fractal-gen: fractal-gen.o \ algorithms/burning-ship.o \ algorithms/burning-ship-lattice.o \ - $(CC) -o $@ $^ -lm -lpthread -%.o: %.c - $(CC) -c -o $@ $< -Wall -Wextra -Werror - -.PHONY: all clean clean-object symlinks clean: clean-object rm fractal-gen \ mandelbrot-gen \ @@ -25,3 +22,5 @@ clean: clean-object clean-object: rm -fv *.o **/*.o + +.PHONY: all clean clean-object symlinks |