Source

ocaml-minigames / Makefile

SDL_OPTS=-libs bigarray,sdl,sdlloader,sdlttf,sdlmixer -cflags -I,+sdl -lflags -I,+sdl

all: sdlmills

clean:
	rm -rf _build
	rm *.native

sdlmaze:
	ocamlbuild -I maze ${SDL_OPTS} sdlmaze.native

sdlmemory:
	ocamlbuild -I memory ${SDL_OPTS} memory.native

sdlmills:
	ocamlbuild -I mills ${SDL_OPTS} sdlmills.native

#uncomment when sdlloader becomes available to ocamlfind
#ocamlbuild -I maze -use-ocamlfind -pkgs bigarray,sdl,sdl.sdlttf,sdl.sdlmixer,sdl.sdlloader sdlmaze.native