commit 26781d5e6e6d492147c215a73830ca8e207b1480 Author: Warwick Date: Sun Jan 10 15:30:51 2021 +0000 Initial project. diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..50d2c21 --- /dev/null +++ b/Makefile @@ -0,0 +1,14 @@ +# Set default options +CC = clang++ + +CFLAGS = -g -Wall + +TARGET = Game +SRCDIR = src/ +BUILDDIR = build/ + +all: $(TARGET) + +$(TARGET): $(SRCDIR)main.cpp + $(CC) $(CFLAGS) -o $(BUILDDIR)$(TARGET) $(SRCDIR)main.cpp + diff --git a/build/Game b/build/Game new file mode 100755 index 0000000..d5c7d51 Binary files /dev/null and b/build/Game differ diff --git a/src/main.cpp b/src/main.cpp new file mode 100644 index 0000000..afed0aa --- /dev/null +++ b/src/main.cpp @@ -0,0 +1,6 @@ +#include + +int main(){ + std::cout << "Hello World" << std::endl; + return 0; +}