View MainActivity.java
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; |
View Makefile
# 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 |
View Makefile
# Makefile | |
argtest: argtest.c | |
g++ -o argtest argtest.c | |
clean: | |
rm -f argtest |
View Makefile
# Makefile | |
httpclient: httpclient.c | |
gcc -o httpclient httpclient.c | |
clean: | |
rm -f httpclient |
View Makefile
# Makefile | |
regex: regex.c | |
gcc -o regex regex.c | |
clean: | |
rm -f regex |
View Makefile
# Makefile | |
sysinfo: sysinfo.c | |
g++ -o sysinfo sysinfo.c | |
clean: | |
rm -f sysinfo |
View Makefile
#Makefile | |
diskfree: diskfree.c | |
g++ -o diskfree diskfree.c | |
clean: | |
rm -f diskfree |
View Makefile
#Makefile | |
xmlGetTagString: xmlGetTagString.cpp | |
g++ -o xmlGetTagString xmlGetTagString.cpp `xml2-config --cflags --libs` | |
clean: | |
rm -f xmlGetTagString.o |
View Makefile
#Makefile | |
malticopy: malticopy.c | |
g++ -o malticopy malticopy.c -lrt | |
clean: | |
rm -f malticopy |