Initial project.
This commit is contained in:
commit
26781d5e6e
3 changed files with 20 additions and 0 deletions
14
Makefile
Normal file
14
Makefile
Normal file
|
|
@ -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
|
||||
|
||||
BIN
build/Game
Executable file
BIN
build/Game
Executable file
Binary file not shown.
6
src/main.cpp
Normal file
6
src/main.cpp
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
#include <iostream>
|
||||
|
||||
int main(){
|
||||
std::cout << "Hello World" << std::endl;
|
||||
return 0;
|
||||
}
|
||||
Loading…
Reference in a new issue