Skip to content
Newer
Older
100644 24 lines (17 sloc) 582 Bytes
b62e8ea @Aqua-Ye fix plugins target
authored
1 .PHONY: all clean run plugins $(EXE)
1fc268e @Aqua-Ye [clean/enhance/improve] a lot of changes, mainly clean-up :
authored
2
3 OPA ?= opa
6f57c47 @Aqua-Ye Makefile: - is not valid
authored
4 OPA_PLUGIN ?= opa-plugin-builder
5 OPA_OPT ?= --parser js-like
cae5716 @Aqua-Ye go back to v1356
authored
6 MINIMAL_VERSION = 1356
1fc268e @Aqua-Ye [clean/enhance/improve] a lot of changes, mainly clean-up :
authored
7 EXE = opa_chat.exe
8
9 all: $(EXE)
b30538d initial commit
David Rajchenbach-Teller authored
10
59f9691 @Aqua-Ye started to implement a file sharing feature
authored
11 plugins: plugins/file/file.js
6f57c47 @Aqua-Ye Makefile: - is not valid
authored
12 $(OPA_PLUGIN) --js-validator-off plugins/file/file.js -o file.opp
13 $(OPA) $(OPA_OPT) plugins/file/file.opa file.opp
59f9691 @Aqua-Ye started to implement a file sharing feature
authored
14
15 $(EXE): plugins src/*.opa resources/*
6f57c47 @Aqua-Ye Makefile: - is not valid
authored
16 $(OPA) $(OPA_OPT) --minimal-version $(MINIMAL_VERSION) *.opp src/*.opa -o $(EXE)
ca43853 @Aqua-Ye added a C binding to get memory usage
authored
17
1fc268e @Aqua-Ye [clean/enhance/improve] a lot of changes, mainly clean-up :
authored
18 run: all
6f57c47 @Aqua-Ye Makefile: - is not valid
authored
19 ./$(EXE) $(RUN_OPT) || true ## prevent ugly make error 130 :) ##
b30538d initial commit
David Rajchenbach-Teller authored
20
21 clean:
59f9691 @Aqua-Ye started to implement a file sharing feature
authored
22 rm -Rf *.opx* *.opp*
6d76300 @Aqua-Ye [improve] Makefile clean rule
authored
23 rm -Rf *.exe _build _tracks *.log **/#*#
Something went wrong with that request. Please try again.