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

Side by Side Diff: misc/cgo/testso/Makefile

Issue 5788043: code review 5788043: misc/cgo: re-enable testso (Closed)
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:
View unified diff | Download patch
« no previous file with comments | « .hgignore ('k') | misc/cgo/testso/cgoso.go » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
OLDNEW
« no previous file with comments | « .hgignore ('k') | misc/cgo/testso/cgoso.go » ('j') | no next file with comments »

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