forked from uniconproject/unicon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
35 lines (24 loc) · 925 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
BASE = ../..
include $(BASE)/Makedefs.uni
UFLAGS=-s -u
prog=ulsp
SRC=launch-lsp.icn file_handler.icn database.icn server.icn completion.icn signature.icn hover.icn \
definition.icn jsonrpc.icn logger.icn lsif.icn
OBJ=launch-lsp.u file_handler.u database.u server.u completion.u signature.u hover.u definition.u \
jsonrpc.u logger.u lsif.u
export IPATH=$(UNI)/unidoc
.PHONY: all
all: $(prog)
$(prog): $(OBJ)
$(UC) -o $(prog) $(OBJ)
$(CP) $(prog)$(EXE) ../../bin
jsonrpc-test: jsonrpc-test.u jsonrpc.u
$(UC) -o jsonrpc-test jsonrpc-test.u jsonrpc.u
launch-lsp.u: launch-lsp.icn file_handler.u database.u server.u completion.u signature.u hover.u definition.u
server.u: server.icn database.u completion.u file_handler.u signature.u hover.u definition.u jsonrpc.u logger.u
hover.u: hover.icn signature.u
definition.u: definition.icn hover.u
zip:
zip ulsp.zip Makefile *.icn
clean:
$(RM) -f *.u $(prog) uniclass*