aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDavid Phillips <dbphillipsnz@gmail.com>2015-06-06 22:00:38 +1200
committerDavid Phillips <dbphillipsnz@gmail.com>2015-06-06 22:00:38 +1200
commit684e26ce72e75e9812390d43fa2cb43452ea0816 (patch)
treec897cdc0da79377f14319170863aad901fe6553a /Makefile
parentb1c2832d923296b7e3964aa9127b80fa4d3c0099 (diff)
downloadfractal-gen-684e26ce72e75e9812390d43fa2cb43452ea0816.tar.xz
Fast-forward to new version
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile28
1 files changed, 6 insertions, 22 deletions
diff --git a/Makefile b/Makefile
index 6e18fac..f952224 100644
--- a/Makefile
+++ b/Makefile
@@ -1,25 +1,9 @@
-all: config mbrot-gen raw-to-png raw-to-png-bw
+all: mbrot-gen
-mbrot-gen:
- - gcc -o mbrot-gen mbrot-gen.c ./config.so -lm -Wall
+mbrot-gen: mbrot-gen.c
+ $(CC) -o $@ $@.c -lm -lpthread -Wall
-raw-to-png:
- - g++ -o raw-to-png raw-to-png.cpp -lm -lGL -lX11 -lpthread -Wall
-raw-to-png-bw:
- - g++ -o raw-to-png-bw raw-to-png.cpp -DBW -lm -lGL -lX11 -lpthread -Wall
-
-
-clean: clean-config clean-exec
-clean-exec:
- - rm mbrot-gen raw-to-png -f
-
-clean-config:
- - rm config.so -f
-
-config:
- - gcc -shared -o config.so config.c
-
-
-samples:
- - ./generate-samples
+.PHONY: all clean
+clean:
+ - rm mbrot-gen -f