diff options
author | Juan J. Martinez <jjm@usebox.net> | 2023-06-26 20:21:40 +0100 |
---|---|---|
committer | Juan J. Martinez <jjm@usebox.net> | 2023-06-26 20:21:40 +0100 |
commit | 8cb23f31b6973ba90bf0dc23ffbac73c7ec0bdce (patch) | |
tree | 1f86cddee55a70bdd50684790abfddfe90f02cc6 /src | |
parent | 39e34a5377533733340fd1117719bcd42ac782ee (diff) | |
download | gold-mine-run-8cb23f31b6973ba90bf0dc23ffbac73c7ec0bdce.tar.gz gold-mine-run-8cb23f31b6973ba90bf0dc23ffbac73c7ec0bdce.zip |
Infra work for the audio
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/Makefile b/src/Makefile index 4c26b5b..4764364 100644 --- a/src/Makefile +++ b/src/Makefile @@ -1,7 +1,11 @@ +ifeq ($(LIBMIKMOD_BASE),) +$(error Set LIBMIKMOD_BASE variable to libmikmod base directory with the DOS library compiled) +endif + BIN := ../game.exe CC := i586-pc-msdosdjgpp-gcc -CFLAGS := -I. -c -Wall -Werror -pedantic -O2 -march=i386 -DDEBUG -LDFLAGS := -s +CFLAGS := -I. -I$(LIBMIKMOD_BASE)/include -c -Wall -Werror -pedantic -O2 -march=i386 -DDEBUG +LDFLAGS := -s -L$(LIBMIKMOD_BASE)/dos -lmikmod IMGS := $(wildcard ../data/*.png) IMG_OBJS := $(IMGS:../data/%.png=%.o) |