Skip to content

Commit

Permalink
initial moc test files
Browse files Browse the repository at this point in the history
  • Loading branch information
jpoirier committed Dec 16, 2015
1 parent 4c990b2 commit b1a24d0
Show file tree
Hide file tree
Showing 4 changed files with 1,281 additions and 0 deletions.
14 changes: 14 additions & 0 deletions moc_test/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#


all:
gcc -Wall -c librtlsdr_moc.c -o librtlsdr_moc.o
ar rcs librtlsdr_moc.a librtlsdr_moc.o
CC="gcc -DMOCK_TEST" go build --ldflags '-extldflags "-static"' -o gortlsdr_moc.a ../rtlsdr.go ../exports.go
go build main_moc.go

clean:
rm -f *.o *.a



Loading

0 comments on commit b1a24d0

Please sign in to comment.