forked from nsf/gocode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
40 lines (32 loc) · 665 Bytes
/
Makefile
File metadata and controls
40 lines (32 loc) · 665 Bytes
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
36
37
38
39
40
include $(GOROOT)/src/Make.inc
PREREQ+=configfile.a
TARG=gocode
GOFILES=gocode.go\
autocompletefile.go\
package.go\
autocompletecontext.go\
server.go\
rpc.go\
decl.go\
apropos.go\
scope.go\
ripper.go\
config.go\
declcache.go
ifeq ($(GOOS),windows)
GOFILES+=os_win32.go
else
GOFILES+=os_posix.go
endif
include $(GOROOT)/src/Make.cmd
rpc.go: server.go goremote/goremote
./goremote/goremote server.go | gofmt > rpc.go
goremote/goremote: goremote/goremote.go
gomake -C goremote
configfile.a: goconfig/configfile.go
gomake -C goconfig
cp goconfig/_obj/configfile.a .
clean: cleandeps
cleandeps:
gomake -C goremote clean
gomake -C goconfig clean