Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 003186ca45
Fetching contributors…

Cannot retrieve contributors at this time

24 lines (17 sloc) 0.597 kb
.PHONY: all clean run plugins $(EXE)
OPA ?= opa
OPA_PLUGIN ?= opa-plugin-builder
OPA_OPT ?= --parser js-like --database db3
MINIMAL_VERSION = 1900
EXE = opa_chat.exe
all: $(EXE)
plugins: plugins/file/file.js
$(OPA_PLUGIN) --js-validator-off plugins/file/file.js -o file.opp
$(OPA) $(OPA_OPT) plugins/file/file.opa file.opp
$(EXE): plugins src/*.opa resources/*
$(OPA) $(OPA_OPT) --minimal-version $(MINIMAL_VERSION) *.opp src/*.opa -o $(EXE)
run: all
./$(EXE) $(RUN_OPT) || true ## prevent ugly make error 130 :) ##
clean:
rm -Rf *.opx* *.opp*
rm -Rf *.exe _build _tracks *.log **/#*#
Jump to Line
Something went wrong with that request. Please try again.