github.com/psiphon-labs/psiphon-tunnel-core@v2.0.28+incompatible/ClientLibrary/example/Makefile (about)

     1  main: libpsiphontunnel.so main.o
     2  	gcc -I. -o main main.o -L. -lpsiphontunnel
     3  
     4  main.o: main.c
     5  	gcc -I.. -c main.c
     6  
     7  libpsiphontunnel.so: ../PsiphonTunnel.go
     8  	# At this time, we don't support modules
     9  	GO111MODULE=off go build -buildmode=c-shared -o libpsiphontunnel.so ../PsiphonTunnel.go
    10  
    11  clean:
    12  	rm libpsiphontunnel.so libpsiphontunnel.h main main.o
    13