commit 6b8b16c70a82b5b523786f7e0265ed4e6897f40d Author: Joe Thornber Date: Thu Jun 16 08:16:10 2011 +0100 blank project diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8dc898b --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +*~ +*.o +multisnap_display \ No newline at end of file diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..aa983e0 --- /dev/null +++ b/Makefile @@ -0,0 +1,16 @@ +SOURCE=\ + main.cc + +OBJECTS=$(subst .cc,.o,$(SOURCE)) +CPPFLAGS=-Wall -Weffc++ -std=c++0x +INCLUDES= +LIBS=-lstdc++ + + +.SUFFIXES: .cc .o + +.cc.o: + g++ -c $(CPPFLAGS) $(INCLUDES) -o $@ $< + +multisnap_display: $(OBJECTS) + g++ -o $@ $+ $(LIBS) \ No newline at end of file diff --git a/README b/README new file mode 100644 index 0000000..08a7d53 --- /dev/null +++ b/README @@ -0,0 +1 @@ +A quick experiment to see how a C++ version would shape up. \ No newline at end of file diff --git a/main.cc b/main.cc new file mode 100644 index 0000000..2c4b243 --- /dev/null +++ b/main.cc @@ -0,0 +1,7 @@ +#include + +int main(int argc, char **argv) +{ + std::cout << "Hello, world!" << std::endl; + return 0; +}