aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md27
-rw-r--r--makefile23
2 files changed, 50 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..b0d6461
--- /dev/null
+++ b/README.md
@@ -0,0 +1,27 @@
+# Fungi
+
+An art generator/simple life simulator.
+
+Fungi is a tool for me to learn about using some different graphics libraries,
+as well as giving me cool new things to look at. Currently written in C++ using
+SDL2, which should make it easy to build on different systems. I plan
+on creating a ncurses based interface as well as porting to different operating
+systems and using their native GUI API.
+Inspired by [Culture by Charlotte Koch](https://github.com/dressupgeekout/screensavers/tree/master/culture).
+
+# Building
+
+Currently the only dependency is SDL2, which is assumed to be in the normal
+location for Debian/Ubuntu.
+
+```
+git clone https://github.com/mlightning3/fungi.git
+cd fungi
+make
+```
+
+# License & Copyright
+
+GPL v3
+
+Matt Kohls 2018
diff --git a/makefile b/makefile
new file mode 100644
index 0000000..a983411
--- /dev/null
+++ b/makefile
@@ -0,0 +1,23 @@
+XX = g++
+
+SDL_LIB = -L/usr/local/lib -lSDL2 -Wl,-rpath=/usr/local/lib
+SDL_INCLUDE = -I/usr/include
+
+CXXFLAGS = -Wall -c -std=c++11 $(SDL_INCLUDE)
+LDFLAGS = $(SDL_LIB)
+EXE = fungi
+
+all: $(EXE)
+
+
+$(EXE): fungi.o
+
+ $(CXX) $< $(LDFLAGS) -o $@
+
+main.o: fungi.cpp
+
+ $(CXX) $(CXXFLAGS) $< -o $@
+
+clean:
+
+ rm *.o && rm $(EXE)