summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am6
-rw-r--r--src/demoscene-eo.c (renamed from src/main.c)0
-rw-r--r--src/main.h1
3 files changed, 7 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
new file mode 100644
index 0000000..d9f8a72
--- /dev/null
+++ b/src/Makefile.am
@@ -0,0 +1,6 @@
+bin_PROGRAMS = demoscene-eo
+demoscene_eo_SOURCES = demoscene-eo.c scene00.c scene01.c scene02.c
+
+server-local: demoscene-eo
+ xterm -e $(SHELL) -c "sleep 1; nc -v localhost 51914; exec $(SHELL)" &
+ CACA_DRIVER=raw CACA_GEOMETRY=80x24 ./demoscene-eo | cacaserver
diff --git a/src/main.c b/src/demoscene-eo.c
index 94db4e5..94db4e5 100644
--- a/src/main.c
+++ b/src/demoscene-eo.c
diff --git a/src/main.h b/src/main.h
index 3af6815..bf622ed 100644
--- a/src/main.h
+++ b/src/main.h
@@ -3,6 +3,7 @@
#define GL_GLEXT_PROTOTYPES
+#include "config.h"
#include <caca.h>
#include <SDL2/SDL.h>
#include <SDL2/SDL_opengl.h>