aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDavid <dbphillipsnz@gmail.com>2014-05-13 21:17:30 +1200
committerDavid <dbphillipsnz@gmail.com>2014-05-13 21:17:30 +1200
commit574df05b9bd100de623b0a0126d935f513ca0f24 (patch)
treeb452b99b15cea4cd29ddf9fa2a41eb73f40ec1bd /Makefile
downloadfractal-gen-574df05b9bd100de623b0a0126d935f513ca0f24.tar.xz
Added all files
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile25
1 files changed, 25 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..6e18fac
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,25 @@
+all: config mbrot-gen raw-to-png raw-to-png-bw
+
+mbrot-gen:
+ - gcc -o mbrot-gen mbrot-gen.c ./config.so -lm -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