This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.rinevo.texttest; | |
import android.content.Context; | |
import android.content.pm.ActivityInfo; | |
import android.hardware.Sensor; | |
import android.hardware.SensorEvent; | |
import android.hardware.SensorEventListener; | |
import android.hardware.SensorManager; | |
import android.support.v7.app.AppCompatActivity; | |
import android.os.Bundle; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Makefile | |
CC = g++ | |
CFLG = -I../common | |
all: | |
$(CC) -c *.cpp $(CFLG) | |
$(CC) -o server server.o NetworkCommon.o | |
$(CC) -o client client.o NetworkCommon.o |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Makefile | |
argtest: argtest.c | |
g++ -o argtest argtest.c | |
clean: | |
rm -f argtest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Makefile | |
httpclient: httpclient.c | |
gcc -o httpclient httpclient.c | |
clean: | |
rm -f httpclient |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Makefile | |
regex: regex.c | |
gcc -o regex regex.c | |
clean: | |
rm -f regex |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Makefile | |
sysinfo: sysinfo.c | |
g++ -o sysinfo sysinfo.c | |
clean: | |
rm -f sysinfo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Makefile | |
diskfree: diskfree.c | |
g++ -o diskfree diskfree.c | |
clean: | |
rm -f diskfree |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Makefile | |
xmlGetTagString: xmlGetTagString.cpp | |
g++ -o xmlGetTagString xmlGetTagString.cpp `xml2-config --cflags --libs` | |
clean: | |
rm -f xmlGetTagString.o |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Makefile | |
malticopy: malticopy.c | |
g++ -o malticopy malticopy.c -lrt | |
clean: | |
rm -f malticopy |