diff options
author | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2019-09-14 19:51:37 +0200 |
---|---|---|
committer | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2019-09-14 19:51:37 +0200 |
commit | 1b0c8fb53a4f3335dc9132e4beabe6602f682ea5 (patch) | |
tree | fd1c70e8ec56e61019c8720f127146c710867d68 /src | |
parent | fa84dfb895d5f3965b2c791b477a1dcc6b4eef7b (diff) | |
download | demoscene-eo-1b0c8fb53a4f3335dc9132e4beabe6602f682ea5.tar.gz demoscene-eo-1b0c8fb53a4f3335dc9132e4beabe6602f682ea5.tar.bz2 demoscene-eo-1b0c8fb53a4f3335dc9132e4beabe6602f682ea5.zip |
Use autotools instead of hand-written Makefile
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 6 | ||||
-rw-r--r-- | src/demoscene-eo.c (renamed from src/main.c) | 0 | ||||
-rw-r--r-- | src/main.h | 1 |
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 @@ -3,6 +3,7 @@ #define GL_GLEXT_PROTOTYPES +#include "config.h" #include <caca.h> #include <SDL2/SDL.h> #include <SDL2/SDL_opengl.h> |