Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(28)

Delta Between Two Patch Sets: misc/cgo/testso/Makefile

Issue 5788043: code review 5788043: misc/cgo: re-enable testso (Closed)
Left Patch Set: Created 13 years ago
Right Patch Set: diff -r c64018498d5f https://code.google.com/p/go Created 13 years ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Right: Side by side diff | Download
« no previous file with change/comment | « .hgignore ('k') | misc/cgo/testso/cgoso.go » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(no file at all)
1 # Copyright 2011 The Go Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style
3 # license that can be found in the LICENSE file.
4
5 include ../../../src/Make.inc
6
7 TARG=cgosotest
8
9 CGO_DEPS+=libcgoso.so
10 CGO_LDFLAGS+=-lcgoso -L.
11 CLEANFILES+=out libcgoso.so
12 CGOFILES=\
13 cgoso.go\
14
15 include ../../../src/Make.pkg
16
17 libcgoso.so: cgoso_c.c
18 gcc cgoso_c.c -fPIC -o $@ $(_CGO_CFLAGS_$(GOARCH)) $(_CGO_LDFLAGS_$(GOOS ))
19
20 out: install main.go
21 $(GC) $(GCFLAGS) $(GCIMPORTS) main.go
22 $(LD) -o $@ main.$O
LEFTRIGHT

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b