summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--.build.yml12
-rw-r--r--.gitignore1
-rw-r--r--Makefile2
3 files changed, 14 insertions, 1 deletions
diff --git a/.build.yml b/.build.yml
new file mode 100644
index 0000000..378ef1a
--- /dev/null
+++ b/.build.yml
@@ -0,0 +1,12 @@
+image: archlinux
+packages:
+  - freealut
+  - glu
+  - libvorbis
+  - openal
+  - sdl
+  - sdl_image
+sources:
+  - https://git.sr.ht/~cnx/blackshades
+tasks:
+  - build: make -C blackshades -j `nproc`
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..d9c4f04
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+objs/
diff --git a/Makefile b/Makefile
index e8c5f5d..613e01c 100644
--- a/Makefile
+++ b/Makefile
@@ -8,7 +8,7 @@ EXE := $(BINDIR)/blackshades
 
 CFLAGS := -O2 -Wall -g $(shell sdl-config --cflags) -I$(SRCDIR) -include Source/Support.h
 CXXFLAGS := $(CFLAGS)
-LDFLAGS := $(shell sdl-config --libs) -lGL -lGLU -lopenal -lalut # -framework QuickTime
+LDFLAGS := $(shell sdl-config --libs) -lSDL_image -lGL -lGLU -lopenal -lalut # -framework QuickTime
 
 # Don't want ogg?
 #CFLAGS += -DNOOGG