summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLudovic Pouzenc <ludovic@pouzenc.fr>2019-09-14 19:51:37 +0200
committerLudovic Pouzenc <ludovic@pouzenc.fr>2019-09-14 19:51:37 +0200
commit1b0c8fb53a4f3335dc9132e4beabe6602f682ea5 (patch)
treefd1c70e8ec56e61019c8720f127146c710867d68 /Makefile
parentfa84dfb895d5f3965b2c791b477a1dcc6b4eef7b (diff)
downloaddemoscene-eo-1b0c8fb53a4f3335dc9132e4beabe6602f682ea5.tar.gz
demoscene-eo-1b0c8fb53a4f3335dc9132e4beabe6602f682ea5.tar.bz2
demoscene-eo-1b0c8fb53a4f3335dc9132e4beabe6602f682ea5.zip
Use autotools instead of hand-written Makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile18
1 files changed, 0 insertions, 18 deletions
diff --git a/Makefile b/Makefile
deleted file mode 100644
index 6aebd5e..0000000
--- a/Makefile
+++ /dev/null
@@ -1,18 +0,0 @@
-CFLAGS := -Wall $(CFLAGS)
-#CFLAGS := -Wall -Werror -g -DDEBUG $(CFLAGS)
-PKGLIBS:= caca sdl2 glu
-
-all: demoscene-eo
-
-server: demoscene-eo
- xterm -e $(SHELL) -c "sleep 1; nc -v localhost 51914; exec $(SHELL)" &
- CACA_DRIVER=raw CACA_GEOMETRY=80x24 ./demoscene-eo | cacaserver
-
-demoscene-eo: src/main.c src/main.h $(wildcard src/scene*.[ch]) Makefile
- pkg-config --libs --cflags $(PKGLIBS)
- gcc $(CFLAGS) `pkg-config --libs --cflags $(PKGLIBS)` src/main.c $(wildcard src/scene*.c) -pthread -o $@
-
-clean:
- rm -f demoscene-eo
-
-.PHONY=all clean run