Skip to content

Commit

Permalink
delete all code, switch to C++
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewrk committed Feb 3, 2015
1 parent 611d1af commit c45c8c3
Show file tree
Hide file tree
Showing 8 changed files with 31 additions and 955 deletions.
2 changes: 1 addition & 1 deletion .gitignore
@@ -1 +1 @@
target/
build/
221 changes: 0 additions & 221 deletions Cargo.lock

This file was deleted.

28 changes: 0 additions & 28 deletions Cargo.toml

This file was deleted.

25 changes: 25 additions & 0 deletions Makefile
@@ -0,0 +1,25 @@
.PHONY: all
all:

-include $(wildcard build/*.d)

OBJECTS = build/main.o

CPP_FLAGS += -Ibuild -Isrc -g -Wall -Werror
COMPILE_CPP = clang -c -std=c++11 -o $@ -MMD -MP -MF $@.d $(CPP_FLAGS) $<

build/genesis: $(OBJECTS)
clang -o $@ $(OBJECTS) -lm
all: build/genesis

build/%.o: src/%.cpp
$(COMPILE_CPP)

$(OBJECTS): | build
build:
mkdir -p $@

.PHONY: clean
clean:
rm -rf build

1 change: 0 additions & 1 deletion README.md
Expand Up @@ -23,7 +23,6 @@

### System Dependencies

* [rust](http://rust-lang.org)
* libgroove
* FreeType

Expand Down
5 changes: 5 additions & 0 deletions src/main.cpp
@@ -0,0 +1,5 @@
#include <stdio.h>

int main(int argc, char *argv[]) {
printf("genesis\n");
}

0 comments on commit c45c8c3

Please sign in to comment.